js-graphql-intellij-plugin
js-graphql-intellij-plugin copied to clipboard
Indication when using deprecated field in query
Thanks for the great work Jim,
It will be great to have indication while writing a query if there`s use of deprecated fields.
The most significant advantage of GraphQL is its ability to gradually update the schema, so there are no sudden changes for the API's end users. However, if such changes are unavoidable, you can ensure a smooth transition. Mark a field, argument, or function as deprecated, and the entire tooling will alert that migration is required. Then cut it, i.e. in a month or two.
How frontend developers should see the deprecated fields:
Is supported since 2024.1 https://youtrack.jetbrains.com/issue/WEB-63597/GraphQL-mark-deprecated-items-as-strikethrough-text.
@vepanimas, thanks to you and Ksenia! <3