Open publee opened 3 years ago
@publee I appologize I missed this issue.
Technically speaking by default Grace won't look in a child container for a dependency. You can configure it that way but honestly it makes things slower.
I assume since this is more than a month old you either solved the problem or moved to a different container.
Can you please provide example how to configure Grace to look in a child container for a dependency? Thank you.
Hi @publee !
var container = new DependencyInjectionContainer(_ =>
{
_.Behaviors.ConstructorSelection = ConstructorSelectionMethod.Dynamic;
});
I am trying to resolve concrete type with dependency registered in child container, but it throws exception.