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

[BUGFIX release] import from ember-inflector to use the default instance #3888

Merged
merged 1 commit into from Oct 26, 2015

Conversation

fsmanuel
Copy link
Contributor

Instead of importing from the path ember data should import from ember-inflector to use the default instance.

related issues: #3887, #3881

@fivetanley
Copy link
Member

Can you amend the commit and PR title to be prefixed with [BUGFIX release]? Otherwise looks good to me.

@fsmanuel fsmanuel changed the title import from ember-inflector to use the default instance [BUGFIX release] import from ember-inflector to use the default instance Oct 26, 2015
@fsmanuel
Copy link
Contributor Author

@fivetanley done

fivetanley added a commit that referenced this pull request Oct 26, 2015
[BUGFIX release] import from ember-inflector to use the default instance
@fivetanley fivetanley merged commit 5c1a906 into emberjs:master Oct 26, 2015
@fivetanley
Copy link
Member

🎉

@joostdevries
Copy link

We're actually still having problems with this. I've locally applied this patch to 1.13.14 but I still have two inflector instances. This is probably caused by the fact that ember-cli-mirage also requires ember-inflector. Is there a reason ember-data bundles the inflector?

@fivetanley
Copy link
Member

Hey @joostdevries sorry for the late reply. Ember Data no longer bundles Ember inflector since 2.3 if you are using it as an ember cli addon. This change won't be backported to 1.x, sadly, as it will take a lot of effort. I backported the changes in this issue/PR to 1.13.16, let me know if that helps. #4143

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

3 participants