Discussed with the client team, the error object v2 format is backwards compatible so we are ok to use them by default.
The formatting for all errors is done, however the content is not. That is a work in progress.
This ticket is to change the OperationsConfig.extendError default to true and remove any startup params or env vars that set it using something like -Dstargate.jsonapi.operations.extend-error=false
OR we can just change the deployment, but i think changing the default us the safest and it is not a big lift.
When this ticket is implemented we should spin up another ticket to remove that operations config setting, but that will be a bigger lift to remove all the places we check it and refactor code that split into two code paths.
Discussed with the client team, the error object v2 format is backwards compatible so we are ok to use them by default.
The formatting for all errors is done, however the content is not. That is a work in progress.
This ticket is to change the
OperationsConfig.extendError
default totrue
and remove any startup params or env vars that set it using something like-Dstargate.jsonapi.operations.extend-error=false
OR we can just change the deployment, but i think changing the default us the safest and it is not a big lift.
When this ticket is implemented we should spin up another ticket to remove that operations config setting, but that will be a bigger lift to remove all the places we check it and refactor code that split into two code paths.
We want this for the table preview.