Closed alansingfield closed 1 year ago
@alansingfield Thanks for reporting, I will check whats happenning.
For any service with a closed generic as a dependency, we get this error:
@alansingfield Sorry, forgot about this issue, but this statement is interesting. Will check it sooner.
I am updating the docs... Your condition is working just fine.
Hello Dadhi,
https://github.com/dadhi/DryIoc/blob/master/docs/DryIoc.Docs/UsingInTestsWithMockingLibrary.md
I've just updated my DryIoc and the WithAutoMocking() call I use extensively.
For any service with a closed generic as a dependency, we get this error:
The solution appears to be to bail out if the type specified is an open generic; we get called first with the IGeneric<>, then IGeneric<int> .
Is this the correct approach? If so, can you update the docs please?
Thanks,
Alan.