Skip to content

Conversation

@chriskrycho
Copy link
Contributor

We have support for this capability in the types, so the blueprints should make sure that there is a registry entry for each service. We originally left this out because we were unsure of the future of the service registry, but we made Owner.lookup() smart enough to resolve it, and the @service decorator continues to expect it.

Helps unblock #20352.

@chriskrycho chriskrycho added enhancement TypeScript Work on Ember’s types labels Jan 19, 2023
We have support for this capability in the types, so the blueprints
should make sure that there is a registry entry for each service. We
originally left this out because we were unsure of the future of the
service registry, but we made `Owner.lookup()` smart enough to resolve
it, and the `@service` decorator continues to expect it.
@chriskrycho chriskrycho enabled auto-merge January 19, 2023 17:09
@chriskrycho chriskrycho merged commit 999619d into master Jan 19, 2023
@chriskrycho chriskrycho deleted the service-registry branch January 19, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement TypeScript Work on Ember’s types

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants