Skip to content

Language support for NullValue #344

@mpoeter

Description

@mpoeter

Hi all,

in graphql/graphql-spec#83 there is a long discussion about adding support for "null" as a valid value, so that there is a semantically difference between explicitly setting a parameter or member of an input object to null vs. not specifying it at all. The official graphql-js library has already been updated accordingly: graphql/graphql-js#544

At the moment absinthe seems to handle things the "old" way, i.e., there is no difference whether the query contains an explicit null value or not - parameters with null values are filtered out (not passed to the resolver) or replaced with the configured default.

Are you aware of this extension of the GraphQL specification? Do you have plans to add this to Absinthe anytime soon?
I suppose you have plenty of other things on your plate, so I would be happy to help as good as I can. :-)

Cheers,
Manuel

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