mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
Make properties of Body.Data public
This commit is contained in:
@@ -33,10 +33,10 @@ public struct Document<ResourceBody: JSONAPI.ResourceBody, MetaType: JSONAPI.Met
|
||||
case data(Data)
|
||||
|
||||
public struct Data: Equatable {
|
||||
let primary: ResourceBody
|
||||
let includes: Includes<Include>
|
||||
let meta: MetaType
|
||||
let links: LinksType
|
||||
public let primary: ResourceBody
|
||||
public let includes: Includes<Include>
|
||||
public let meta: MetaType
|
||||
public let links: LinksType
|
||||
}
|
||||
|
||||
public var isError: Bool {
|
||||
|
||||
Reference in New Issue
Block a user