You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've forked this repo, and updated all the dependencies to Unity 5.11.1 and Logging Abstractions 3.0.0
If you add an empty constructor to the LoggedType in the unit test, and run them, it will fail. Unity is probably not picking up ILogger and ILogger<> as resolvable types.
Is this expected behaviour? Or could something be done about it? Because if you use dependencies that do resolve, it will pick the correct constructor (the one with the most arguments)
Thanks,
P.
The text was updated successfully, but these errors were encountered:
Hi,
This is not working if you rely on automatic constructor registration, https://unitycontainer.github.io/tutorials/registration/Type/Constructor/automatic.html
I've forked this repo, and updated all the dependencies to Unity 5.11.1 and Logging Abstractions 3.0.0
If you add an empty constructor to the
LoggedType
in the unit test, and run them, it will fail. Unity is probably not picking upILogger
andILogger<>
as resolvable types.Is this expected behaviour? Or could something be done about it? Because if you use dependencies that do resolve, it will pick the correct constructor (the one with the most arguments)
Thanks,
P.
The text was updated successfully, but these errors were encountered: