Skip to content

Commit a350172

Browse files
leogiertzpauljeannot
authored andcommitted
Make resourceType of Query public (#2)
* Make resourceType of Query to be public * Change to access public private(set)
1 parent 0eea26a commit a350172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spine/Query.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Foundation
1919
/// the actual URL generated by the Router.
2020
public struct Query<T: Resource> {
2121
/// The type of resource to fetch. This can be nil if in case of an expected heterogenous response.
22-
var resourceType: ResourceType?
22+
public private(set) var resourceType: ResourceType?
2323

2424
/// The specific IDs the fetch.
2525
var resourceIDs: [String]?

0 commit comments

Comments
 (0)