Skip to content

Commit a089cb5

Browse files
Merge pull request #544 from halonsoluis/patch-1
Make GraphQLResult initialiser public
2 parents 01045b5 + a23b148 commit a089cb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Apollo/GraphQLResult.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public struct GraphQLResult<Data> {
1515

1616
let dependentKeys: Set<CacheKey>?
1717

18-
init(data: Data?, errors: [GraphQLError]?, source: Source, dependentKeys: Set<CacheKey>?) {
18+
public init(data: Data?, errors: [GraphQLError]?, source: Source, dependentKeys: Set<CacheKey>?) {
1919
self.data = data
2020
self.errors = errors
2121
self.source = source

0 commit comments

Comments
 (0)