Problem/Motivation

Compatibility with the spec was lost for http://jsonapi.org/format/#error-objects.

Error objects MUST be returned as an array keyed by errors in the top level of a JSON API document.

Proposed resolution

Use the data wrapper for the serializer.

CommentFileSizeAuthor
#2 2821045--error-spec--2.patch761 bytese0ipso

Comments

e0ipso created an issue. See original summary.

e0ipso’s picture

Status: Active » Needs review
StatusFileSize
new761 bytes

That should do.

  • e0ipso committed 210c238 on 8.x-1.x
    Issue #2821045 by e0ipso: [BUGFIX] Conform to the error spec
    
e0ipso’s picture

Status: Needs review » Fixed

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.