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

ServiceContainer Refactor #8

Closed
wants to merge 10 commits into from
Closed

ServiceContainer Refactor #8

wants to merge 10 commits into from

Conversation

Blacksmoke16
Copy link
Member

  • Refactors ServiceContainer to be less complex
  • Add support auto resolving service dependencies
  • Support providing explicit arguments
  • Support aliasing types

Depends on crystal-lang/crystal#8836

Introduce auto service resolution
Introduce support for explicit arguments
Refactor how services/lazy services are implemented
@Blacksmoke16 Blacksmoke16 changed the title Di refactor ServiceContainer Refactor Feb 28, 2020
Blacksmoke16 and others added 6 commits March 1, 2020 09:46
Allow getting public services by type if public
Add more helper methods that could be used in compiler passes
Have pre/post compiler passes
Fix issue with explicitly providing falsely values
Rename key to service_id
Drop support for Injectable
@Blacksmoke16
Copy link
Member Author

Closing in favor of #10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant