-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one
Milestone
Description
Summary
Currently, trying to create an IJSObjectReference instance by calling IJSRuntime.InvokeAsync<JSObjectReference>(...) instead of IJSRuntime.InvokeAsync<IJSObjectReference>(...) results in a JSON deserialization error. This is by design, but the error could be caught earlier and a more useful error message could be provided.
Additional context
@SteveSandersonMS had a suggestion for this here.
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one