ember-learn/deprecation-app

`implicit-injections` deprecation is missing for v4.x series

Closed this issue · 2 comments

DEPRECATION: As of Ember 4.0.0, owner.inject no longer injects values into resolved instances, and calling the method has been deprecated. Since this method no longer does anything, it is fully safe to remove this injection. As an alternative to this API, you can refactor to explicitly inject _ajaxRequest on adapter, or look it up directly using the getOwner API. [deprecation id: remove-owner-inject] See https://deprecations.emberjs.com/v4.x#toc_implicit-injections for more details.

More some background, see ember-fastboot/ember-cli-fastboot#869

@SergeAstapov 👍 I think there is a PR for this but it's been open for quite a while. I'll ping the author/reviewer now.

#932

DEPRECATION: As of Ember 4.0.0, owner.inject no longer injects values into resolved instances, and calling the method has been deprecated. Since this method no longer does anything, it is fully safe to remove this injection. As an alternative to this API, you can refactor to explicitly inject _ajaxRequest on adapter, or look it up directly using the getOwner API. [deprecation id: remove-owner-inject] See https://deprecations.emberjs.com/v4.x#toc_implicit-injections for more details.

More some background, see ember-fastboot/ember-cli-fastboot#869

locks commented

Relevant PR has been merged!