Pass variables in graphQLWS (fix #26)
This commit is contained in:
parent
899fe0fe54
commit
34cf2065fb
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ class _GraphQLWSServer extends stw.Server {
|
||||||
operationName: operationName,
|
operationName: operationName,
|
||||||
sourceUrl: 'input',
|
sourceUrl: 'input',
|
||||||
globalVariables: globalVariables,
|
globalVariables: globalVariables,
|
||||||
|
variableValues: variables,
|
||||||
);
|
);
|
||||||
return stw.GraphQLResult(data);
|
return stw.GraphQLResult(data);
|
||||||
} on GraphQLException catch (e) {
|
} on GraphQLException catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue