Skip to content

Allow deprecation of input values (field args, directive args, input fields) - #776

Merged
milessabin merged 2 commits into
typelevel:mainfrom
hugo-vrijswijk:input-field-deprecation
Nov 17, 2025
Merged

milessabin merged 2 commits into
typelevel:mainfrom
hugo-vrijswijk:input-field-deprecation

Conversation

@hugo-vrijswijk

@hugo-vrijswijk hugo-vrijswijk commented Nov 17, 2025 •

Copy link
Copy Markdown
Contributor

As per the September 2025 spec.

Fixes #744

Also makes includeDeprecated arguments non-nullable booleans, as well as the reason argument on the @deprecated directive.

@hugo-vrijswijk
hugo-vrijswijk force-pushed the input-field-deprecation branch 2 times, most recently from fc7c5a8 to 9436390 Compare November 17, 2025 12:54
@hugo-vrijswijk hugo-vrijswijk changed the title Allow deprecation of input values Allow deprecation of input values (field args, directive args, input fields) Nov 17, 2025
@hugo-vrijswijk
hugo-vrijswijk force-pushed the input-field-deprecation branch from 9436390 to b06d2e1 Compare November 17, 2025 13:43
As per the [September 2025 spec](https://github.com/graphql/graphql-spec/blob/main/changelogs/September2025.md).

Also makes `includeDeprecated` arguments non-nullable booleans, as well as the `reason` argument on the `@deprecated` directive.
@hugo-vrijswijk
hugo-vrijswijk force-pushed the input-field-deprecation branch from b06d2e1 to 5735577 Compare November 17, 2025 18:46
@milessabin

Copy link
Copy Markdown
Member

Needs rebasing, but otherwise LGTM ... many thanks!

@hugo-vrijswijk

Copy link
Copy Markdown
Contributor Author

Needs rebasing, but otherwise LGTM ... many thanks!

Should be all good now

@milessabin milessabin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@milessabin
milessabin merged commit f5497c9 into typelevel:main Nov 17, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: Allow @deprecated on ARGUMENT_DEFINITION and INPUT_FIELD_DEFINITION

2 participants