-
Notifications
You must be signed in to change notification settings - Fork 31
Remove implicit injection #490
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
base: master
Are you sure you want to change the base?
Conversation
|
@ryanto any chance we could get a merge and release of this? 🙇🏻 |
|
Hey @gilest! Thanks so much for taking the time to put together this PR! I really appreciate it. Anyway we can get the CI tests passing? If you need to remove older versions that are no longer LTS thats perfectly fine. Also, this feature is specific to Ember 4.x? |
I spent some time assessing today. A fair bit of maintenance and upgrades would be needed to get this addon caught up. Given that ember-data is changing significantly in the 4.x series I'm not personally willing to invest the effort to complete this. The project which depends on this addon (in my case) only uses the FastbootAdapter mixin, so I will port that code manually as it's fairly small.
This feature (implicitly injecting a service into all objects) is a no-op with a console warning in Ember 4 which has moved towards more explicitness in general. I've seen maintainers treat this as a breaking API change as for consumers < 4.x it will remove automatic injections. |
|
Ok cool, thanks for the info. If you're only using the fastboot adapter then ya I think it makes to do that port on your own. |
|
@ryanto would you please reconsider merging this? |
|
Would love to see this merged. It would allow us to use this addon for a bit longer. |
storefrontservice in the docs. Presumably users running Ember 4 are familiar with the need to explicitly inject services, anywayFixes #485