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

Change pattern of importing normalizeModelName #4

Merged
merged 1 commit into from
Jul 30, 2017

Conversation

BrianSipple
Copy link
Contributor

This change prevents this addon from breaking in consuming applications that
are using Ember Data >= 2.14.0, where ember-data/-private/system/normalize-model-name
is no longer available. It appears as though it can simply be destructured from the top-level DS object instead.

(This part of an Ember Data discussion might also lend a bit more insight.)

@ef4 It might also be useful to update the addon to the latest Ember CLI/Ember Data, but I wanted to leave that for a separate change.

This change prevents this addon from breaking in consuming applications that
are using Ember Data >= 2.14.0, where `ember-data/-private/system/normalize-model-name`
is no longer available.
@ef4 ef4 merged commit f70dd5c into ef4:master Jul 30, 2017
@ef4
Copy link
Owner

ef4 commented Jul 30, 2017

Thanks!

@ef4
Copy link
Owner

ef4 commented Jul 31, 2017

Published in 0.0.8.

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.

2 participants