Skip to content

Commit 8831ce2

Browse files
author
Bart Koelman
authored
fixed invalid example in docs (#780)
1 parent a26e096 commit 8831ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/JsonApiDotNetCore/Models/Annotation/EagerLoadAttribute.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ namespace JsonApiDotNetCore.Models
1212
/// <example><![CDATA[
1313
/// public class User : Identifiable
1414
/// {
15-
/// [Attr(isImmutable: true)]
15+
/// [Attr(AttrCapabilities.AllowFilter | AttrCapabilities.AllowSort)]
1616
/// [NotMapped]
1717
/// public string DisplayName => Name.First + " " + Name.Last;
1818
///
19+
/// [EagerLoad]
1920
/// public Name Name { get; set; }
2021
/// }
2122
///

0 commit comments

Comments
 (0)