Skip to content

Refactor gRPC content-type constraint to be inline #2065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 2, 2023

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Mar 2, 2023

This method call brought in the .NET regex engine to apps published as trimmed or AOT:

        var routePattern = RoutePatternFactory.Parse(
            pattern,
            defaults: null,
            parameterPolicies: new RouteValueDictionary { ["contentType"] = GrpcUnimplementedConstraint.Instance });

This PR refactors routes to include unimplemented constraint inline.

PR also updates .NET 7 SDK to 7.0.201. This version is used by gRPC-Web tests docker image. See #2063 (comment)

@jtattermusch jtattermusch merged commit cfb839b into grpc:master Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants