Proactive feedback
Use the top-level entry extensions
to send data concerning deprecations and warnings in the response to the query.
For instance, the following query exports two fields using the same dynamic variable name "prop"
, which generates a warning:
The response will include section warnings
(under extensions
) with a corresponding message:
Deprecations
Deprecations are returned in the same query involving deprecated fields, and not only when doing introspection.
Warnings
Warning are issues which can be considered non-blocking, i.e. they enhance the query but do not break it.