With graphql, you have the option to return both data and error in the response. However, with subgraph errors redaction, if the error
field is present in the response, the data
field is returned as null even if there is some data returned. Also, we have the option to include subgraph errors by updating a flag in the config (include_subgraph_errors) but that would allow all errors to go through.
- Is there a way to enable partial data with the response along with errors
- Is there a way to conditionally enable errors from subgraph if a given header is present (or maybe some other way per request basis)