Skip to content

Commit

Permalink
Merge pull request #544 from halonsoluis/patch-1
Browse files Browse the repository at this point in the history
Make GraphQLResult initialiser public
  • Loading branch information
designatednerd authored Jul 10, 2019
2 parents 01045b5 + a23b148 commit a089cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Apollo/GraphQLResult.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public struct GraphQLResult<Data> {

let dependentKeys: Set<CacheKey>?

init(data: Data?, errors: [GraphQLError]?, source: Source, dependentKeys: Set<CacheKey>?) {
public init(data: Data?, errors: [GraphQLError]?, source: Source, dependentKeys: Set<CacheKey>?) {
self.data = data
self.errors = errors
self.source = source
Expand Down

0 comments on commit a089cb5

Please sign in to comment.