You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatevoidCheckForInvalidValueType(inVariablevariable){if(!variable.Type.IsInstanceOfType(variable.Value)){thrownewQueryException(newVariableError("The variable value is not of the correct type.",variable.Name));}}
The bug is caused by our temporary workaround to fix a serialization issue with enums. So, now we have to put a good solution in place and not another workaround.
Describe the bug
The variable type rule has an issue when the variable type is a non-null type.
To Reproduce
The following query is rejected by the server:
with the following error:
The hero signature looks like the following
hero(episode: Episode!): Character
.Expected behavior
The query should have not been rejected.
The text was updated successfully, but these errors were encountered: