[graphiql] Support deprecated argument on query arguments
GraphiQL support for deprecated fields is great but it does not cover the query arguments.
Depreciation on field
Depreciation on argument
Since GraphQL arguments object handle depreciation, it could be great to extend this functionality to argument. From type/definition.ts
export interface GraphQLArgumentConfig {
description?: Maybe<string>;
type: GraphQLInputType;
defaultValue?: unknown;
deprecationReason?: Maybe<string>;
extensions?: Maybe<Readonly<GraphQLArgumentExtensions>>;
astNode?: Maybe<InputValueDefinitionNode>;
}
Thanks
ah yes this is a new spec feature as of a few years ago, thanks for bringing it up!
I would invite you to contribute a fix, but the dev tooling is kinda annoying at the moment, so proceed at your own risk haha. Happy to help with instructions - just yarn at root first then yarn tsc at root, then simultaneously yarn dev in graphiql-react and yarn dev-graphiql at the root 😆 eventually we will have pnpm and turborepo, but for now bless this mess haha
👋 @acao – would you say that the dev tooling situation has improved? I also came here looking for this 👀
no it has not, for years, but that doesn't stop contributors almost daily! 😂