Skip to content

Conversation

tyranron
Copy link
Member

@tyranron tyranron commented Sep 11, 2025

Resolves #864
Part of #1347

Synopsis

GraphQL spec September 2025 supports deprecation of input object fields and arguments.

See also:

Solution

  • Support #[deprecated] and #[graphql(deprecated)] attributes in #[derive(GraphQLInputObject)] macro for fields.
    • Cover with positive codegen tests.
    • Prevent incorrect applying in compile time.
    • Cover with negative codegen tests.
    • Cover in macro documentation.
    • Cover in Book.
  • Support #[deprecated] and #[graphql(deprecated)] attributes in #[graphql_object] and #[graphql_inteface] macros for arguments.
    • Cover with positive codegen tests.
    • Prevent incorrect applying in compile time.
    • Cover with negative codegen tests.
    • Cover in macro documentation.
    • Cover in Book.
  • Support deprecation in schema::meta::Argument.
  • Renew Type System Definitions.
  • Renew canonical introspection query.

@tyranron tyranron added this to the 0.18.0 milestone Sep 11, 2025
@tyranron tyranron self-assigned this Sep 11, 2025
@tyranron tyranron added k::api Related to API (application interface) feature New feature or request k::design Related to overall design and/or architecture labels Sep 11, 2025
@tyranron tyranron linked an issue Sep 11, 2025 that may be closed by this pull request
23 tasks
@tyranron tyranron mentioned this pull request Sep 11, 2025
23 tasks
@tyranron tyranron linked an issue Sep 12, 2025 that may be closed by this pull request
@tyranron tyranron changed the title Support deprecation of input object fields and arguments (#1347) Support deprecation of input object fields and arguments (#864, #1347) Sep 12, 2025
@tyranron tyranron marked this pull request as ready for review September 12, 2025 13:05
@tyranron tyranron enabled auto-merge (squash) September 12, 2025 13:12
@tyranron tyranron merged commit 90ecd03 into master Sep 12, 2025
714 of 720 checks passed
@tyranron tyranron deleted the 1347-input-deprecation branch September 12, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request k::api Related to API (application interface) k::design Related to overall design and/or architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GraphQL spec September 2025 Feature request: support for deprecating input values
1 participant