graphene icon indicating copy to clipboard operation
graphene copied to clipboard

Argument with wrong value type do not raise an error

Open tcleonard opened this issue 3 years ago • 1 comments

Currently, setting the value of an input with the wrong type is not raising an error. For example if the input as the type UUID and that you provide the value 2 it doesn't fail.

There are various cases like that (see tests in the pull request for an extensive list).

This is due to the fact that now no value is represented by Undefined and not None in graphql-core.

tcleonard avatar Mar 20 '22 20:03 tcleonard

Hi, @tcleonard !

I'm just commenting the link to your PR: https://github.com/graphql-python/graphene/pull/1414

DarknessRdg avatar May 16 '22 03:05 DarknessRdg

Merged!

erikwrede avatar Aug 14 '22 10:08 erikwrede