diff --git a/content/ember/v6/importing-inject-from-ember-service.md b/content/ember/v6/importing-inject-from-ember-service.md index 2ed0f9de..605606b1 100644 --- a/content/ember/v6/importing-inject-from-ember-service.md +++ b/content/ember/v6/importing-inject-from-ember-service.md @@ -1,7 +1,7 @@ --- title: Importing `inject` from `@ember/service` until: 7.0.0 -since: 6.3.0 +since: 6.2.0 --- Importing `inject` from `@ember/service` is deprecated. Please import `service` instead. @@ -17,3 +17,5 @@ export default class MyRoute extends Route { @service store; } ``` + +You can use the [ember-codemod-remove-inject-as-service](https://github.com/ijlee2/ember-codemod-remove-inject-as-service) codemod, to fix all violations.