Problem/Motivation
We want to send notices and warnings in the response if the user has the appropriate permissions to access them. This is blocked by #2738269: [FEATURE] Implement expected error format for JSON API.
Proposed resolution
Accumulate all errors in the "errors" document root array according to JSON API. Follow the same principles introduced in #2738269: [FEATURE] Implement expected error format for JSON API.
Build an array of warnings and notices and add them in the RequestHandler after the $response has been generated.
Comments
Comment #2
e0ipsoThis is now closer because we got the Partial Success spec in via #2778627: [BUGFIX] Check for individual entity access in listings.
Comment #3
e0ipsoI no longer think this is such a great idea, since it will be hard to cache based on the PHP ini display errors setting + user permissions + …
Closing as won't fix.