Null check on argumentValue in coerceArgumentValues
This commit is contained in:
parent
917477cb89
commit
2ca155375b
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ class GraphQL {
|
|||
var argumentValue = argumentValues
|
||||
.firstWhere((a) => a.name == argumentName, orElse: () => null);
|
||||
|
||||
if (argumentValue.value is VariableContext) {
|
||||
if (argumentValue?.value is VariableContext) {
|
||||
var variableName = (argumentValue.value as VariableContext).name;
|
||||
var variableValue = variableValues[variableName];
|
||||
|
||||
|
|
Loading…
Reference in a new issue