Skip to content

Conversation

@pranavkm
Copy link
Contributor

@pranavkm pranavkm commented Mar 31, 2022

No description provided.

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Mar 31, 2022
@pranavkm pranavkm marked this pull request as ready for review March 31, 2022 18:41
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

object values, look what you've done 😢

@JamesNK
Copy link
Member

JamesNK commented Apr 1, 2022

FYI @eerhardt @agocke (Just a heads up if you're curious. Let me know if you're not interested in being pinged on trimming PRs)

pranavkm added 2 commits April 1, 2022 18:46
* Connections.Abstractions
* Microsoft.AspNetCore.Http
* Microsoft.AspNetCore.Http.Routing
@pranavkm pranavkm changed the title Annotate additional assemblies for trimming Annotate Microsoft.AspNetCore.Routing for trimming Apr 2, 2022
/// names from <c>RouteOptions</c>.
/// </param>
/// <returns>A URI with an absolute path, or <c>null</c>.</returns>
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple public overloads with optional parameters", Justification = "Required to maintain compatibility")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new overload. How is it "Required to maintain compatibility"❔ Same for a few other new overloads in this class.

Copy link
Member

@JamesNK JamesNK Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that message is used because it needs to be placed on both the old and new methods.

The same message is used when suppressing all warnings of this type - https://github.com/dotnet/aspnetcore/search?p=1&q=RS0026

@JamesNK JamesNK merged commit 38a7c59 into dotnet:main Apr 7, 2022
@ghost ghost added this to the 7.0-preview4 milestone Apr 7, 2022
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider trimmer friendly alternatives in Http.Routing that do not initialize a RouteValueDictionary

6 participants