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
{{ message }}
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.
@PureKrome I don't know how that method has ever worked. The method takes a params object[] dependencies, loops over them and calls this.Dependency<T>(dependency) where T is inferred to object 😕 I'll send a PR to fix it. In the meantime you should explicitly invoke the Dependencies<T> overload.
Notice: I'm not sure if this issue is related to #1862 or this is a TinyIOC issue and should be raised there.
When testing a route using
Nancy.Testing
and usingwith.Dependencies(someCollectionOfDependencies);
it fails to correctly set them up.As a work around, I need to iterate through each one and
with.Dependency(someDependency);
and that works.for example ..
Fails
Succeeds
btw, the collection
dependencies
are identical.Lastly, this is with version
1.2
of Nancy, etc.The text was updated successfully, but these errors were encountered: