-
Notifications
You must be signed in to change notification settings - Fork 602
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
Implicit Injection Deprecated #2302
Comments
Also this breaks in Ember v4 because of this I think. Silently without any errors, just login doesn't work and refreshes the page. |
@marcoow Do you have any plan how to get rid of these deprecations ? Currently initializers both regiter and inject the properties. (the session-store into the session, and the session into the session service) If you agree with this direction (defining a getter which use owner.lookup()), I can try to make a PR. |
It looks like this is a correct way to proceed, doesn't seem like anything could break by changing the way we inject dependencies. The only concern would be to check the lookup API maybe, ESA is mostly targeting 3.0+, but If I remember well there have been some changes to looking up registered entities. |
Thanks for this issue! Btw, this functionality will be removed in v4.0 |
As Ember v4 beta is out, it would be awesome to have this deprecation fixed. |
On a brand new app ESA is throwing two deprecations as of Ember 3.26.1:
The text was updated successfully, but these errors were encountered: