--- title: >- GraphQL schemas will use the "@deprecated" directive for input fields and arguments - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/graphql-schemas-will-use-the-deprecated-directive-for-input-fields-and-arguments md: >- https://shopify.dev/changelog/graphql-schemas-will-use-the-deprecated-directive-for-input-fields-and-arguments.md metadata: effectiveApiVersion: 2022-07 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2022-06-21T10:40:21-04:00' postedAt: '2022-07-01T00:00:00-04:00' updatedAt: '2024-12-13T17:24:34-05:00' effectiveAt: '2022-07-01T00:00:00-04:00' --- July 1, 2022 Tags: * API * 2022-07 # GraphQL schemas will use the "@deprecated" directive for input fields and arguments As of API version 2022-07 all GraphQL schemas will start using the "@deprecated" directive for input fields and arguments which have been deprecated. API versions 2022-04 and below will continue to use the description for deprecation warnings. It is recommended you use a GraphQL client which supports deprecated input fields and arguments when using GraphQL API versions 2022-07 and above. For example graphql-js added support as of version [v15.5.0](https://github.com/graphql/graphql-js/releases/tag/v15.5.0). See the [official GraphQL spec](https://spec.graphql.org/draft/#sec--deprecated) for more details.