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

DI Config #43

Open
Chillu1 opened this issue Nov 16, 2023 · 0 comments
Open

DI Config #43

Chillu1 opened this issue Nov 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Chillu1
Copy link
Owner

Chillu1 commented Nov 16, 2023

Config is currently a static class that can be changed at any time. It would be nice if it was instead injected where it's needed.

The issue is that it would need to be fed through a lot of layers, up to 6.

A DI framework would shine here, but it's not worth it.

@Chillu1 Chillu1 added the enhancement New feature or request label Nov 16, 2023
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