-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
dotnet/sdk
#33757Labels
area-System.Text.Jsonblocking-releasebreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.Issue or PR that represents a breaking API or functional change over a previous release.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
offonly 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
PublishTrimmedat 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=>JsonSerializerIsReflectionEnabledByDefaultonce this is merged, and can react as changes happen.
Originally posted by @eerhardt in #83844 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Text.Jsonblocking-releasebreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.Issue or PR that represents a breaking API or functional change over a previous release.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