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

DEPRECATION: A value was injected implicitly on the '_fastbootInfo' property #819

Closed
lolmaus opened this issue Apr 4, 2021 · 2 comments · Fixed by #841
Closed

DEPRECATION: A value was injected implicitly on the '_fastbootInfo' property #819

lolmaus opened this issue Apr 4, 2021 · 2 comments · Fixed by #841

Comments

@lolmaus
Copy link

lolmaus commented Apr 4, 2021

Hi!

I'm receiving this deprecation:

DEPRECATION: A value was injected implicitly on the '_fastbootInfo' property of an instance of <docs-app@service:fastboot::ember223>. Implicit injection is now deprecated, please add an explicit injection for this value. If the injected value is a service, consider using the @service decorator. [deprecation id: implicit-injections] See https://deprecations.emberjs.com/v3.x#toc_implicit-injections for more details.

This appeared after upgrading Ember from 3.23 to 3.26.

I am not touching _fastbootInfo in my code and am not using any third-party addons on top of FastBoot.

@mamiller93
Copy link

Any update on this one?

@knownasilya
Copy link

Looks like https://github.com/ember-fastboot/ember-cli-fastboot/blob/master/packages/fastboot/src/fastboot-info.js#L41 is set here. Probably need to change how this value is accessed on the fastboot service. Not sure what the best option is. cc @kiwiupover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants