Refactored backend GraphQL responses to no longer use code, message, or success. If a response is not successful, it will now throw a GraphQL error instead of returning a success: false and code: 4XX/5XX response.
Adds a logging plugin to the Apollo Server that will log if a resolver throws a GraphQL Error.
Updated frontend package and local MASE to use the new backend GraphQL response models.
Changes proposed in this pull request
backend
GraphQL responses to no longer usecode
,message
, orsuccess
. If a response is not successful, it will now throw a GraphQL error instead of returning asuccess: false
andcode: 4XX/5XX
response.frontend
package and local MASE to use the new backend GraphQL response models.Context
Fixes #2575.
Checklist
fixes #number