Open agnostk opened 1 year ago
@tmat can you please look into this? Thanks!
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Thanks for contacting us.
We're moving this issue to the .NET 9 Planning
milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
Is there an existing issue for this?
Describe the bug
When using Blazor, changing a parameter with a default value to nullable leads to a
InvalidOperationException
error while using hot reload.Workaround:
Expected Behavior
The code should compile and run without any issues.
Steps To Reproduce
blazorserver
project:@code
block ofPages/Counter.razor
to the following:Save the file to trigger hot reload.
Change the parameter initialization to a nullable integer and adapt its method:
Save the file to trigger hot reload.
Navigate to your project URL and go to the
/counter
page.Exceptions (if any)
The type 'BlazorApp.Pages.Counter' declares more than one parameter matching the name 'incrementamount'. Parameter names are case-insensitive and must be unique.
.NET Version
7.0.306
Anything else?
Additional Information Output of
dotnet --info