Skip to content

Commit

Permalink
fix: pass context for JsonOperationRequests
Browse files Browse the repository at this point in the history
  • Loading branch information
tpucci committed Feb 12, 2024
1 parent f9a5ae6 commit f4bf2b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/ferry_exec/lib/src/json_operation_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ class JsonOperationRequest
final Operation operation;

@override
Request get execRequest => Request(operation: operation, variables: vars);
Request get execRequest => Request(
operation: operation,
variables: vars,
context: context ?? const Context());

@override
final Context? context;
Expand Down

0 comments on commit f4bf2b0

Please sign in to comment.