Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support keyed services #2355

Closed
JamesNK opened this issue Jan 10, 2024 · 4 comments
Closed

Support keyed services #2355

JamesNK opened this issue Jan 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@JamesNK
Copy link
Member

JamesNK commented Jan 10, 2024

.NET 8 added keyed services. Ensure DI on interceptors and services work with keyed services.

@JamesNK JamesNK added the bug Something isn't working label Jan 10, 2024
@vadimi-ep
Copy link

It looks like keyed services still don't work in gRPC services, is there a plan to support them?

@JamesNK
Copy link
Member Author

JamesNK commented Mar 29, 2024

How don’t they work?

@vadimi-ep
Copy link

My apologies, I use Lamar container and FromKeyedServices attribute is being ignored, I just retested with the default DI and everything is working perfectly fine. I will report the issue to lamar repo. Thanks.

@JamesNK
Copy link
Member Author

JamesNK commented Mar 30, 2024

Closing issue as tests were added here to verify this works - #2356

@JamesNK JamesNK closed this as completed Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants