Learn more on how you can configure propagating errors from Subgraphs to the client.
errors
field within the extensions
object.
Default Configuration
extensions
field is not exposed. In the extension object we only passthrough the code
field. For more detailed error output, you can modify the configuration as follow:
attach_service_name
option allows the affected subgraph’s name to be sent to the client, which can help in generating more informative error messages.
allowed_fields
. The following ones are always propagated
message
path
omit_extensions
is set to true
(default is false
), extensions
will not be propagated.
If omit_locations
is set to true
(default is false
), locations
will not be propagated.
Configuration