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 ;
1
2
using Newtonsoft . Json ;
2
3
3
4
namespace JsonApiDotNetCore . Models
@@ -6,5 +7,8 @@ public class Document
6
7
{
7
8
[ JsonProperty ( "data" ) ]
8
9
public DocumentData Data { get ; set ; }
10
+
11
+ [ JsonProperty ( "included" ) ]
12
+ public List < DocumentData > Included { get ; set ; }
9
13
}
10
14
}
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ public string Type
20
20
21
21
[ JsonProperty ( "attributes" ) ]
22
22
public Dictionary < string , object > Attributes { get ; set ; }
23
-
24
23
25
24
[ JsonProperty ( "relationships" ) ]
26
25
public Dictionary < string , RelationshipData > Relationships { get ; set ; }
Original file line number Diff line number Diff line change @@ -7,5 +7,8 @@ public class Documents
7
7
{
8
8
[ JsonProperty ( "data" ) ]
9
9
public List < DocumentData > Data { get ; set ; }
10
+
11
+ [ JsonProperty ( "included" ) ]
12
+ public List < DocumentData > Included { get ; set ; }
10
13
}
11
14
}
You can’t perform that action at this time.
0 commit comments