-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errorsArrayToHash and errorsHashToArray functions looking for data/attributes/ instead of /data/attributes (missing trailing slash?) #3557
Comments
I am sorry I don't understand the problem here. Can you explain a bit more? |
@tchak it is just a slight change errorsHashToArray currently sets pointer to this
but according to the spec (http://jsonapi.org/format/#errors-processing) it should instead look like this
https://github.com/emberjs/data/blob/master/packages/ember-data/lib/adapters/errors.js#L125 |
Oh right. I agree. Will fix it. |
"pointer: a JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute]." Closes emberjs#3557
"pointer: a JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute]." Closes emberjs#3557 (cherry picked from commit 33c6744) Conflicts: packages/ember-data/lib/adapters/errors.js
"pointer: a JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute]." Closes emberjs#3557
"pointer: a JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute]."
http://jsonapi.org/format/#errors-processing
https://github.com/emberjs/data/blob/master/packages/ember-data/lib/adapters/errors.js#L125
https://github.com/emberjs/data/blob/master/packages/ember-data/lib/adapters/errors.js#L145
The text was updated successfully, but these errors were encountered: