Skip to content

Missing support for deprecated field arguments & input type fields #341

@CodingContraption

Description

@CodingContraption

We ran into a problem recently with graphql-protect, used to protect an apollo-router GraphQL API.

The latest apollo-router supports a draft version of the spec, that adds support for deprecated input values: graphql/graphql-spec#805

Currently gqlparser support is still at the 2018 spec, resulting in errors when a client requests introspection fields like isDeprecated and deprecationReason on the __InputValue.

To fix this the prelude.graphql should be updated to include the draft introspection schema. Next to that, there are a few updated validation rules that need adoption as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions