You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Native C# union command returns no longer depend on reflection over the union type: the source generator emits union case metadata for each union a command handler returns, so command operation checks work in trimmed and NativeAOT applications. Unions the generator cannot reference keep working through a reflection fallback that is switched off when trimming, and a command whose union metadata is missing in a trimmed application now fails before its handler runs. (#3954)