Skip to content

Ruru: make inputValueDeprecation/schemaDescription configurable for older schemas #2382

@benjie

Description

@benjie

Feature description

Currently we hardcode these to be enabled:

inputValueDeprecation={true}
schemaDescription={true}

We should either add feature discovery, or make it so someone using ruru on the command line can disable these features for servers that don't implement the latest draft of the GraphQL spec, such as Hasura.

Reported on the GraphQL Discord in GraphiQL channel: https://discord.com/channels/625400653321076807/862957469155721236/1342410378709307422

Motivating example

Hasura produces 'args' has no argument named 'includeDeprecated'

Breaking changes

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🌳 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions