-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
dotnet/sdk
#33757Labels
area-System.Text.Jsonblocking-releasebreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.Issue or PR that represents a breaking API or functional change over a prerelease.needs-breaking-change-doc-createdBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnetBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnetpartner-impactThis issue impacts a partner who needs to be kept updatedThis issue impacts a partner who needs to be kept updated
Milestone
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)
Metadata
Metadata
Assignees
Labels
area-System.Text.Jsonblocking-releasebreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.Issue or PR that represents a breaking API or functional change over a prerelease.needs-breaking-change-doc-createdBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnetBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnetpartner-impactThis issue impacts a partner who needs to be kept updatedThis issue impacts a partner who needs to be kept updated