Uh oh!
There was an error while loading. Please reload this page.
Attribute HttpListenerRequest.UserAgent as nullable - #93405
Conversation
Changed the datatype for HttpListenerRequest.UserAgent to be a nullable string to match internally and externally expected behaviour. Fixdotnet#93033
TheMaximum
commented
Oct 12, 2023
@dotnet-policy-service agree |
ghost
commented
Oct 12, 2023
Tagging subscribers to this area: @dotnet/ncl Issue DetailsChanged the datatype for HttpListenerRequest.UserAgent to be a nullable string to match internally and externally expected behaviour. Fix #93033
|
ManickaP
left a comment
There was a problem hiding this comment.
LGTM, thank you for the contribution!
Dev inner loop failure is unrelated, this can be merged.
wfurt
commented
Oct 13, 2023
is this breaking change since it is touching |
ManickaP
commented
Oct 16, 2023
This isn't breaking change as far as I know. cc @stephentoub |
stephentoub
commented
Oct 26, 2023
Changing a property that was returning stringua=request.UserAgent;will now get a new warning where they didn't previously, and if they have warnings-as-errors enabled, that will break the build. So technically it is a breaking change. In the past we've typically just had a single catch-all breaking change notification about such nullability annotation changes. @jeffhandley, is there a process in place for aggregating all of these? |
jeffhandley
commented
Nov 6, 2023
With as few of these types of breaking changes as we've had recently, we should just start documenting each of them individually. I recall @gewarren mentioning the aggegate approach also introduced challenges, but I don't recall the specifics. I'm tagging this issue as needing a breaking change doc issue created. @ManickaP, it would be best for you to file the issue per the steps that the automated comment will provide. Here's a good reference example for the issue. |
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
ManickaP
commented
Nov 6, 2023
gewarren
commented
Nov 7, 2023
We did aggregate (most of) the nullability changes for .NET 6: https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/nullable-ref-type-annotation-changes. I think it makes sense to aggregate them unless they fall under different areas. |
Changed the datatype for HttpListenerRequest.UserAgent to be a nullable string to match internally and externally expected behaviour.
Fix#93033