graphile / graphile/crystal

Ruru: make inputValueDeprecation/schemaDescription configurable for older schemas

Open
#2,382 0 comments 0 reactions 0 assignees View on GitHub
✨ feature
Dominant language
TypeScript
Stars
12.9k
Forks
625
Avg merge
5h 23m
Merged PRs (30d)
24

Description

### Feature description

Currently we hardcode these to be enabled:

https://github.com/graphile/crystal/blob/3ca966185b0029e638cfecadeca8d5cc16e1cc34/grafast/ruru-components/src/ruru.tsx#L73-L74

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.