Deprecation Notifier

1 domain5 domains25 domains

$4.99

$9.99

$19.99

Buying the extension gives you a license for 1 year (renewable every year), that includes support and access to all extension updates. Prices are in USD.

🛍️ Buy “Deprecation Notifier” Extension


Send deprecations in the response to the query (and not only when doing introspection), under the top-level entry extensions.

Description permalink

Whenever a deprecated field is queried, a deprecation message is returned in that same GraphQL response, under the top-level entry extensions.

This alerts users of our APIs to upgrade their use of the schema, even when they are not paying attention to the introspection query.

For instance, running this query, where field isPublished is deprecated:

query {
posts {
title
isPublished
}
}

...will produce this response:

{
"extensions": {
"deprecations": [
{
"message": "Use 'isStatus(status:published)' instead of 'isPublished'",
"extensions": {
...
}
}
]
},
"data": {
"posts": [
...
]
}
}

Bundles including extension permalink


🛍️ Buy “Deprecation Notifier” Extension