Skip to content

Commit 8040a87

Browse files
author
Jay Herron
committed
Removes unused parameters
1 parent bff1618 commit 8040a87

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Sources/GraphQL/Subscription/Subscribe.swift

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ func subscribe(
3535
context: Any,
3636
eventLoopGroup: EventLoopGroup,
3737
variableValues: [String: Map] = [:],
38-
operationName: String? = nil,
39-
fieldResolver: GraphQLFieldResolve? = nil,
40-
subscribeFieldResolver: GraphQLFieldResolve? = nil
38+
operationName: String? = nil
4139
) -> EventLoopFuture<SubscriptionResult> {
4240

4341

@@ -52,8 +50,7 @@ func subscribe(
5250
context: context,
5351
eventLoopGroup: eventLoopGroup,
5452
variableValues: variableValues,
55-
operationName: operationName,
56-
subscribeFieldResolver: subscribeFieldResolver
53+
operationName: operationName
5754
)
5855

5956
return sourceFuture.map{ subscriptionResult -> SubscriptionResult in
@@ -129,8 +126,7 @@ func createSourceEventStream(
129126
context: Any,
130127
eventLoopGroup: EventLoopGroup,
131128
variableValues: [String: Map] = [:],
132-
operationName: String? = nil,
133-
subscribeFieldResolver: GraphQLFieldResolve? = nil
129+
operationName: String? = nil
134130
) -> EventLoopFuture<SourceEventStreamResult> {
135131

136132
let executeStarted = instrumentation.now

0 commit comments

Comments
 (0)