-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
PerfPillar: Complete Blazor WebPriority:3Work that is nice to haveWork that is nice to havearea-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 onehelp candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamIndicates that the issues may be a good fit for community to help with. Requires work from eng. team
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
DateOnly and TimeOnly is probably supported almost everywhere. Now it is time to add them to known immutable types here (similar to Guid):
aspnetcore/src/Components/Components/src/ChangeDetection.cs
Lines 42 to 45 in 213eb28
private static bool IsKnownImmutableType(Type type) | |
=> Type.GetTypeCode(type) != TypeCode.Object | |
|| type == typeof(Guid) | |
|| typeof(IEventCallback).IsAssignableFrom(type); |
GetTypeCode returns TypeCode.Object for both of them.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
boukenka
Metadata
Metadata
Assignees
Labels
PerfPillar: Complete Blazor WebPriority:3Work that is nice to haveWork that is nice to havearea-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 onehelp candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamIndicates that the issues may be a good fit for community to help with. Requires work from eng. team