Skip to content

Commit c6fbc1f

Browse files
Merge branch 'master' into fix/variableNullLiterals
2 parents e26bb85 + 15073b4 commit c6fbc1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/GraphQL/GraphQL.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public func graphql(
8181
instrumentation: Instrumentation = NoOpInstrumentation,
8282
schema: GraphQLSchema,
8383
request: String,
84-
rootValue: Any = Void(),
85-
context: Any = Void(),
84+
rootValue: Any = (),
85+
context: Any = (),
8686
eventLoopGroup: EventLoopGroup,
8787
variableValues: [String: Map] = [:],
8888
operationName: String? = nil
@@ -135,8 +135,8 @@ public func graphql<Retrieval: PersistedQueryRetrieval>(
135135
instrumentation: Instrumentation = NoOpInstrumentation,
136136
queryRetrieval: Retrieval,
137137
queryId: Retrieval.Id,
138-
rootValue: Any = Void(),
139-
context: Any = Void(),
138+
rootValue: Any = (),
139+
context: Any = (),
140140
eventLoopGroup: EventLoopGroup,
141141
variableValues: [String: Map] = [:],
142142
operationName: String? = nil
@@ -198,8 +198,8 @@ public func graphqlSubscribe(
198198
instrumentation: Instrumentation = NoOpInstrumentation,
199199
schema: GraphQLSchema,
200200
request: String,
201-
rootValue: Any = Void(),
202-
context: Any = Void(),
201+
rootValue: Any = (),
202+
context: Any = (),
203203
eventLoopGroup: EventLoopGroup,
204204
variableValues: [String: Map] = [:],
205205
operationName: String? = nil

0 commit comments

Comments
 (0)