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

Fix runtime exception in DryIoc sample #881

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

hymccord
Copy link
Contributor

@hymccord hymccord commented Mar 17, 2023

The addition of the second constructor in the Mediator class (for
publishing strategies) breaks the default rules for DryIoc.

This commit will fix that by explicity picking the constructor to use in
the container. It also adds comments for an alternative solution to
automatically resolve classes that have multiple constructors.

Closes: #882

The addition of the second constructor in the Mediator class (for
publishing strategies) breaks the default rules for DryIoc.

This commit will fix that by explicity picking the constructor to use in
the container. It also adds comments for an alternative solution to
automatically resolve classes that have multiple constructors.
@jbogard jbogard merged commit 513c202 into jbogard:master Mar 27, 2023
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.

DryIoc sample throws runtime exception
2 participants