Skip to content

Commit

Permalink
Update src/Lamar/ServiceGraph.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElanHasson authored Sep 12, 2024
1 parent 214b02a commit c262f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lamar/ServiceGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,6 @@ public bool CanBeServiceByNetCoreRules(Type serviceType, string name)
}
}

return family.Default != null;
return family.InstanceFor(name) != null;
}
}

0 comments on commit c262f94

Please sign in to comment.