Open vadimi-ep opened 3 months ago
@vadimi-ep Just reminding you that Lamar predates that Microsoft introduced attribute by quite a few years. This is an "I take pull requests" issue (and won't be that bad if you care).
Lamar has its own attribute for naming if that's all you need. Or use Lamar's own built in registration DSL for this that Lamar has supported for years before MS did the keyed service thing
thanks, I'll try to work on the PR then
Hello, it looks like lamar does not support
FromKeyedServicesAttribute
which is available in .net8:container.GetService<TestClient>()
ignoresFromKeyedServices
attribute and injects the same instance of the dependency instead of the keyed one.