Skip to content

Cannot send null as argument for scalar type #457

@clery

Description

@clery

Hi,

I'm using graphql v0.7.7 and I noticed I cannot send null in a scalar argument.

It's really easy to reproduce, just create a field that takes a string as an argument, and try sending null, it should return something like Argument "some_name" has invalid value <nil>. Expected type "String", found <nil>."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions