Skip to content

Argument with wrong value type do not raise an error #1413

Closed
@tcleonard

Description

@tcleonard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions