Skip to content
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

Provide a component scanner utility #71

Open
utybo opened this issue Feb 6, 2023 · 0 comments
Open

Provide a component scanner utility #71

utybo opened this issue Feb 6, 2023 · 0 comments
Milestone

Comments

@utybo
Copy link
Owner

utybo commented Feb 6, 2023

Many Tegral DI plugins rely on the following process:

  • Scanning the existing components
  • Register them in one way or another in an internal map.
  • At a later point, retrieve all the components and call something on them

Example of such plugins include Tegral DI's services feature and Tegral Web Controllers' controller and module detection feature. I'm pretty sure this functionality could be refactored into a "component scanner" class which plugins could instantiate and/or configure.

@utybo utybo added this to the TBD milestone Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant