Closed mfn closed 5 years ago
The concept of getNonBreakingErrors() is a violation of the jsonapi spec which states:
getNonBreakingErrors()
The members data and errors MUST NOT coexist in the same document.
In the specific case, a request made with includes for a relation which is not allowed must return a complete error response, not one half of the requested data and the error.
includes
The concept of
getNonBreakingErrors()
is a violation of the jsonapi spec which states:In the specific case, a request made with
includes
for a relation which is not allowed must return a complete error response, not one half of the requested data and the error.