File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/JsonApiDotNetCore/Models Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ using System . Collections . Generic ;
12using Newtonsoft . Json ;
23
34namespace JsonApiDotNetCore . Models
@@ -6,5 +7,8 @@ public class Document
67 {
78 [ JsonProperty ( "data" ) ]
89 public DocumentData Data { get ; set ; }
10+
11+ [ JsonProperty ( "included" ) ]
12+ public List < DocumentData > Included { get ; set ; }
913 }
1014}
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ public string Type
2020
2121 [ JsonProperty ( "attributes" ) ]
2222 public Dictionary < string , object > Attributes { get ; set ; }
23-
2423
2524 [ JsonProperty ( "relationships" ) ]
2625 public Dictionary < string , RelationshipData > Relationships { get ; set ; }
Original file line number Diff line number Diff line change @@ -7,5 +7,8 @@ public class Documents
77 {
88 [ JsonProperty ( "data" ) ]
99 public List < DocumentData > Data { get ; set ; }
10+
11+ [ JsonProperty ( "included" ) ]
12+ public List < DocumentData > Included { get ; set ; }
1013 }
1114}
You can’t perform that action at this time.
0 commit comments