We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you create a component that injects multiple instances of the same type, it compiles fine but throws an exception during runtime. Example:
@inject MyTransientService Transient @inject MyTransientService Transient2
The text was updated successfully, but these errors were encountered:
Thanks for reporting it. It's a bug in Mono, reported as mono/mono#7944
Sorry, something went wrong.
Just to add more to the issue, I have the same problem using JSON.Net with Blazor.
To repro, call Newtonsoft.Json.JsonConvert.SerializeObject(new { CurrentCount = currentCount }); and you will have the same problem.
Newtonsoft.Json.JsonConvert.SerializeObject(new { CurrentCount = currentCount });
No branches or pull requests
If you create a component that injects multiple instances of the same type, it compiles fine but throws an exception during runtime. Example:
The text was updated successfully, but these errors were encountered: