Closed
Description
Have we decided we want this to be defaulted to
off
only whenPublishAot=true
? Or do we think we should go as far as turning it off by default whenPublishTrimmed=true
?For the ASP.NET feature switch, we had it for both. But I'm a little concerned about making the switch for
PublishTrimmed
at the bottom of the stack. It is a breaking change. If we do this, we will need to update Maui and Blazor WASM SDKs to turn it backon
.We don't need to block this PR on the decision. For ASP.NET, we can just switch our SDK to change
EnsureAspNetCoreJsonTrimmability
=>JsonSerializerIsReflectionEnabledByDefault
once this is merged, and can react as changes happen.
Originally posted by @eerhardt in #83844 (comment)