Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

WendellAdriel
Copy link
Member

Changes

This PR is refactoring the App class to start using the DI container for the services and also to store some configurations like important paths for the application, like the base path and the configuration path. Later we can use it to store other paths like storage/log paths, etc.

This is also deprecating the services and loadedServices logic in App, replacing that to use the DI container instead.

This also adds a test case for the new configuration folder/files.

Why

This is an initial and simple implementation to start using the DI container, in the future, everything should be refactored to be using the DI container. This is just the beginning of the needed changes.

@WendellAdriel WendellAdriel requested a review from erikaheidi June 8, 2023 14:11
Copy link
Collaborator

@JustSteveKing JustSteveKing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job!

@WendellAdriel
Copy link
Member Author

Awesome job!

Thanks man!!! 💪

@erikaheidi erikaheidi merged commit 9879a22 into main Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants