Skip to content

Resolver-like component/helper/modifier resolution #24

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

Closed
dfreeman opened this issue Nov 24, 2020 · 1 comment
Closed

Resolver-like component/helper/modifier resolution #24

dfreeman opened this issue Nov 24, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@dfreeman
Copy link
Member

To support today's Ember idioms in advance of template imports and strict mode, we need a way for glint to resolve template entities that aren't explicitly statically in scope.

The resolution process in @glint/template was designed with this in mind, and a likely approach here is to have the Ember environment we create in #23 include a publicly-extensible type registry in the set of global values it exposes to glint.

To make this less of a pain (particularly for the initial setup), it would be great if we could automate the process of generating this registry.

@dfreeman dfreeman added the enhancement New feature or request label Nov 24, 2020
@dfreeman
Copy link
Member Author

This is handled in @glint/environment-ember-loose/types/registry. Codegen may still be something worth exploring at some point, but the core issue here has been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant