Skip to content
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

Use detail instead of details for JSON API error objects #3497

Merged
merged 1 commit into from
Jul 6, 2015

Conversation

sebastianseilund
Copy link
Contributor

Fixes #3494.

The current implementation reads the details property on JSON API errors.

The JSON API spec mentions a field named detail, which error objects "MAY" contain.

This PR changes all instances to be detail.

@fivetanley
Copy link
Member

LGTM. @wecc r?

@fsmanuel
Copy link
Contributor

fsmanuel commented Jul 6, 2015

👍

1 similar comment
@tchak
Copy link
Member

tchak commented Jul 6, 2015

👍

@igorT
Copy link
Member

igorT commented Jul 6, 2015

Can you please tag the commit message with [BUGFIX release]

@sebastianseilund
Copy link
Contributor Author

@igorT Done :)

mixonic added a commit that referenced this pull request Jul 6, 2015
Use `detail` instead of `details` for JSON API error objects
@mixonic mixonic merged commit 104758d into emberjs:master Jul 6, 2015
@mixonic
Copy link
Sponsor Member

mixonic commented Jul 6, 2015

Thanks @sebastianseilund :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants