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 import of deprecate from @ember/application/deprecations to @ember/debug #458

Merged

Conversation

colinfkennedy
Copy link
Contributor

@colinfkennedy colinfkennedy commented Feb 12, 2022

The existing import is preventing apps upgrading to Ember 4 due to a missing module error.
Screenshot 2022-02-13 at 11 26 51 a m

The module @ember/application/deprecations no longer exists in Ember 4.

As the deprecate function is available in @ember/debug in Emberv3.28 (Current Ember version for ember-data-factory-guy) and Ember v4.0.0 this should be safe to change.

I have tested this locally with my own Ember 4 app.

…mber/debug. The existing import is preventing apps upgrading to Ember 4 due to a missing module error.

As deprecate is available in @ember/debug in v3.28 this should be safe to change.
@patocallaghan
Copy link
Collaborator

Thanks @colinfkennedy 🙇‍♂️ Have some failing tests but they're unrelated to your changes. Will merge your fixes anyway.

@patocallaghan patocallaghan merged commit 3008bf1 into adopted-ember-addons:master Feb 14, 2022
@colinfkennedy colinfkennedy deleted the fix-deprecate-import branch February 15, 2022 09:27
patocallaghan pushed a commit to patocallaghan/ember-data-factory-guy that referenced this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants