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

Add dependency injection example #2466

Merged
merged 2 commits into from
Dec 30, 2023
Merged

Add dependency injection example #2466

merged 2 commits into from
Dec 30, 2023

Conversation

davidpdrsn
Copy link
Member

#2382 reworked the error handling example to not mix with dependency injection. So this PR adds a dedicated DI example that shows using trait objects and generics.

@davidpdrsn davidpdrsn requested a review from jplatte December 30, 2023 13:58
@davidpdrsn davidpdrsn enabled auto-merge (squash) December 30, 2023 13:58
@davidpdrsn davidpdrsn merged commit 3b43b25 into main Dec 30, 2023
18 checks passed
@davidpdrsn davidpdrsn deleted the di-example branch December 30, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants