Closed 304NotModified closed 4 years ago
Please squash when accepted :)
You move fast! 😄 Let me check this tonight, I think there was a reason for using the return () =>
and Func<IServiceCollection>
constructs having to do with timing so I just want to make sure.
Thanks for your contribution!
it's still doing return () =>
;)
But please do check :)
Thanks for the great library!
@mbhoek I've updated the PR so it also resolves #7 :)
luckily I didn't do a force push, so you could check the latest commit :)
Looks ok, but I need to check what happens if users already added the piece of initialisation code
No crash at my side, but not sure if there goes some else wrong
To be clear, if you leave this:
foreach (var type in typeof(TestDependencies).Assembly.GetTypes().Where(t => Attribute.IsDefined(t, typeof(BindingAttribute))))
{
services.AddSingleton(type);
}
Then still all tests are green.
Fixes #24, fixes #7