Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

@Imports annotation uses global constant #22

Open
binarybro opened this issue Sep 13, 2023 · 0 comments
Open

@Imports annotation uses global constant #22

binarybro opened this issue Sep 13, 2023 · 0 comments

Comments

@binarybro
Copy link
Contributor

Imports are currently stored in a global constant. We should explore using dependency injection for this.

However, this poses problems when using annotations on components for lack of access to a component's injection context.

A possible solution could be to annotate a class member instead of the component.

@binarybro binarybro changed the title @Imports annotation uses glo al constant @Imports annotation uses global constant Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant