-
-
Notifications
You must be signed in to change notification settings - Fork 121
import service instead of inject from '@ember/service' #415
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
import service instead of inject from '@ember/service' #415
Conversation
| import { dependentKeyCompat } from '@ember/object/compat'; | ||
| import { tracked } from '@glimmer/tracking'; | ||
| import { inject as service } from '@ember/service'; | ||
| import { service } from '@ember/service'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a breaking change -- can you update this to the style of support mentioned in the deprecation guide?
thank you!!!
https://deprecations.emberjs.com/id/importing-inject-from-ember-service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops... yeah, can do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be closer to acceptable now... still unsure about if it's correct changing on the earlier version 'test-app's
|
@NullVoxPopuli @SergeAstapov, sorry for the delay. I have no experience with ember pre 4.x or any experience with cross version support really--not sure what to do about the failing 3.x pipes |
|
aye, that seems like a separate issue, and I don't think we need to worry about it in this PR. Thanks for submitting! |
c07560c
into
adopted-ember-addons:master
closes #414