After updating our app from Ember 5.12 to Ember 6.4 we're seeing the following deprecation warnings coming from this add-on:
DEPRECATION: Importing `inject` from `@ember/service` is deprecated.
Please import `service` instead.
[deprecation id: importing-inject-from-ember-service]
This will be removed in ember-source 7.0.0.
See https://deprecations.emberjs.com/id/importing-inject-from-ember-service for more details.
These lines should be updated:
The docs indicate:
If you're working on a library that needs to support ember-source prior to 4.1, you can support both styles of service via:
import * as emberService from '@ember/service';
const service = emberService.service ?? emberService.inject;
@mansona Would you be open to accept a PR with this change?
Thanks!
After updating our app from Ember 5.12 to Ember 6.4 we're seeing the following deprecation warnings coming from this add-on:
These lines should be updated:
The docs indicate:
@mansona Would you be open to accept a PR with this change?
Thanks!