graphile / crystal

🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
https://graphile.org/
Other
12.62k stars 571 forks source link

Make GraphiQLProvider component's "inputValueDeprecation" property configurable #2242

Open xojc opened 21 hours ago

xojc commented 21 hours ago

Feature description

Make the inputValueDeprecation property of the GraphiQLProvider component configurable.

Motivating example

Some graphql schemas, such as the one included in the Hasura GraphQL Engine, don't support an includeDeprecated argument at the IntrospectionQuery's fields' types' args level, and the graphql npm library support its configurable inclusion via the inputValueDeprecation, which is passed by the GraphiQLProvider component to the IntrospectionQuery retrieval method, so the ruru integration of the component should include configurability of the GraphiQLProvider's inputValueDeprecation property.

Breaking changes

Supporting development

I [tick all that apply]: