Skip to content

Commit 1f56ae8

Browse files
author
Bart Koelman
committed
Updated documentation
1 parent 1c2726b commit 1f56ae8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/extensibility/resource-definitions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ public class EmployeeDefinition : JsonApiResourceDefinition<Employee>
202202
{
203203
}
204204

205-
public override IReadOnlyCollection<IncludeElementExpression> OnApplyIncludes(
206-
IReadOnlyCollection<IncludeElementExpression> existingIncludes)
205+
public override IImmutableList<IncludeElementExpression> OnApplyIncludes(
206+
IImmutableList<IncludeElementExpression> existingIncludes)
207207
{
208208
if (existingIncludes.Any(include =>
209209
include.Relationship.Property.Name == nameof(Employee.Manager)))

0 commit comments

Comments
 (0)