We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60bf898 commit 71bdbffCopy full SHA for 71bdbff
Spine/Resource.swift
@@ -13,10 +13,10 @@ public typealias ResourceType = String
13
/// A ResourceIdentifier uniquely identifies a resource that exists on the server.
14
public struct ResourceIdentifier: Equatable {
15
/// The resource type.
16
- public var type: ResourceType
+ public private(set) var type: ResourceType
17
18
/// The resource ID.
19
- public var id: String
+ public private(set) var id: String
20
21
/// Constructs a new ResourceIdentifier instance with given `type` and `id`.
22
init(type: ResourceType, id: String) {
0 commit comments