Skip to content
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

Include source in RequestDelegateFactory missing required parameter log #35580

Closed
wants to merge 1 commit into from

Conversation

halter73
Copy link
Member

Contributes to #30322

@@ -219,17 +219,17 @@ private static Expression CreateArgument(ParameterInfo parameter, FactoryContext
throw new InvalidOperationException($"{parameter.Name} is not a route paramter.");
}

return BindParameterFromProperty(parameter, RouteValuesExpr, routeAttribute.Name ?? parameter.Name, factoryContext);
return BindParameterFromProperty(parameter, RouteValuesExpr, routeAttribute.Name ?? parameter.Name, factoryContext, "route");
Copy link
Member

Choose a reason for hiding this comment

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

Super nit: can we move these string literals to constants or something?

@halter73
Copy link
Member Author

halter73 commented Sep 1, 2021

Closing in favor of #36004 which includes these changes.

@halter73 halter73 closed this Sep 1, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants