Skip to content

importing inject is deprecated #748

@chancancode

Description

@chancancode

ember-source 6.3 now emits a deprecation for importing inject from @ember/service. This is a bit unfortunate because service is only available on ember-source 4.1+ (I think), and this addon currently supports down to 3.20.

If dropping old ember versions is acceptable then bumping to 4.4+ would solve the problem. Otherwise, it can be avoided with some boilerplate to pick service if available, and fallback to inject if not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions