apiproxy service needs to interpret flagship errors coming through giraffe in the extensions field of the graphql error type. This errors must be forwarded to comply with api v2 error definition. See more: https://outreach-io.atlassian.net/browse/VXP-4000
The changes in this proposal add a new operation error that can be registered in the test server to respond with a graphql error with a custom extensions field. The value of the extensions interface is defined through the registered operation.
What this PR does / why we need it
apiproxy
service needs to interpret flagship errors coming through giraffe in theextensions
field of thegraphql error
type. This errors must be forwarded to comply with api v2 error definition. See more: https://outreach-io.atlassian.net/browse/VXP-4000The changes in this proposal add a new operation
error
that can be registered in the test server to respond with a graphql error with a customextensions
field. The value of the extensions interface is defined through the registered operation.Jira ID
[ORES-1245]