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

es6 args destructuring removed from public api on mocks #236

Merged

Conversation

youroff
Copy link
Contributor

@youroff youroff commented Aug 26, 2016

This PR addresses #226

Even though the issue is fixed, there are still questions on whether convertErrors should be adapter specific. For example, someone using json-api, would expect errors as per spec:
http://jsonapi.org/examples/#error-objects-multiple-errors
When with DS.RESTAdapter it's just {errors: {field: ['error 1', 'error 2']}}

Should we remove that option at all and do the conversion implicitly depending on what adapter is in use?

@danielspaniel danielspaniel merged commit 67323e1 into adopted-ember-addons:master Aug 28, 2016
@ryedeer ryedeer deleted the removing_destructuring_args branch June 18, 2019 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants