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

DX: Improve dependency injection container reference #2046

Open
ArthurHoaro opened this issue Nov 25, 2023 · 0 comments
Open

DX: Improve dependency injection container reference #2046

ArthurHoaro opened this issue Nov 25, 2023 · 0 comments
Labels
cleanup code cleanup and refactoring
Milestone

Comments

@ArthurHoaro
Copy link
Member

Follow-up of #1972 (review)

With the latest upgrade to Slim 4, we use a DI container that doesn't provide any type hinting. It makes working with the container pretty hard, and prone to error, because any type hint must be done explicitly during usage.

We should be able to figure out a solution which could let us have type hinting when using container's attributes.

@ArthurHoaro ArthurHoaro added the cleanup code cleanup and refactoring label Nov 25, 2023
@ArthurHoaro ArthurHoaro added this to the 0.14.0 milestone Nov 25, 2023
@ArthurHoaro ArthurHoaro changed the title Improve DI container reference DX: Improve dependency injection container reference Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup code cleanup and refactoring
Projects
None yet
Development

No branches or pull requests

1 participant