-
Notifications
You must be signed in to change notification settings - Fork 49
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
Update non_field_errors object to follow spec #123
Conversation
This looks good. Going to try it out before merging. /cc @holandes22 |
}); | ||
} else { | ||
out.push({ | ||
source: { pointer: `data/attributes/${key}`}, | ||
source: { pointer: `data/attributes/${key}` }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ember Data 1.13.7 (released yesterday) "fixed" the pointer format to align with the JSON API spec.
I think you'll need to add a forward slash to the beginning here (and on line 125), and update the documentation to show compatibility with ED >= 1.13.7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dustinfarris yeah you're right about that. Update coming up in a few minutes.
@dustinfarris updated for ember-data 1.13.7 |
This is working, but ED doesn't seem to do anything with the /data errors. Going to merge this and open an issue there. |
Update non_field_errors object to follow spec
Opened emberjs/data#3602 |
@dustinfarris awesome, thanks. Subscribed over to that issue for any follow up. |
Went ahead and worked on fixing #113 based on the previous discussion.