Skip to content

Commit

Permalink
fix(ferry): Fix problem with operationRequest generated on initial re…
Browse files Browse the repository at this point in the history
…quest being included in response each time.
  • Loading branch information
YusukeMoriJapan committed Nov 1, 2023
1 parent 81d9fb7 commit 01e2906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ferry/lib/ferry_isolate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ class IsolateClient extends TypedLink {
return _handleStreamCommand<OperationResponse<TData, TVars>>(
(port) => RequestCommand(port.sendPort, request),
(response, sink) => sink.add(OperationResponse<TData, TVars>(
operationRequest: request,
linkException: response!.linkException,
operationRequest: response!.operationRequest,
linkException: response.linkException,
graphqlErrors: response.graphqlErrors,
dataSource: response.dataSource,
extensions: response.extensions,
Expand Down

0 comments on commit 01e2906

Please sign in to comment.