Skip to content

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 LuckyPennySoftware: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