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

Improve the error message when parameter type is not registered #175

Merged
merged 2 commits into from
Nov 24, 2018
Merged

Improve the error message when parameter type is not registered #175

merged 2 commits into from
Nov 24, 2018

Commits on Oct 31, 2018

  1. Configuration menu
    Copy the full SHA
    5ce5a63 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2018

  1. Improve the ConstructorInjectionConvention to find best matched const…

    …ructor and throw better error message
    
    - throw InvalidOperationException if single constructor found, but no parameter type registered
    - throw InvalidOperationException if no matched constructor and no parameter-less constructor found
    - skip apply convention if we found parameter-less constructor
    akunzai committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    991208b View commit details
    Browse the repository at this point in the history