-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Expose ParameterInfo for Minimal Actions API Explorer #36439
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
Expose ParameterInfo for Minimal Actions API Explorer #36439
Conversation
Populate the ParameterDescriptor for Minimal Actions parameters with a type that implements IParameterInfoParameterDescriptor so that any custom attributes on the parameter can be inspected. Relates to dotnet#36438.
captainsafia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This will be helpful for #36525.
Addresses review feedback.
|
/backport to release/6.0 |
|
Started backporting to release/6.0: https://github.com/dotnet/aspnetcore/actions/runs/1238322205 |
|
@captainsafia backporting to release/6.0 failed, the patch most likely resulted in conflicts: $ git am --3way --ignore-whitespace --keep-non-patch changes.patch
Applying: Expose ParameterInfo for Minimal Actions API Explorer
Using index info to reconstruct a base tree...
M src/Mvc/Mvc.ApiExplorer/test/EndpointMetadataApiDescriptionProviderTest.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Mvc/Mvc.ApiExplorer/test/EndpointMetadataApiDescriptionProviderTest.cs
CONFLICT (content): Merge conflict in src/Mvc/Mvc.ApiExplorer/test/EndpointMetadataApiDescriptionProviderTest.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Expose ParameterInfo for Minimal Actions API Explorer
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128Please backport manually! |
* Expose ParameterInfo for Minimal Actions API Explorer Populate the ParameterDescriptor for Minimal Actions parameters with a type that implements IParameterInfoParameterDescriptor so that any custom attributes on the parameter can be inspected. Relates to #36438. * Remove file-scoped namespace Addresses review feedback.
* Expose ParameterInfo for Minimal Actions API Explorer Populate the ParameterDescriptor for Minimal Actions parameters with a type that implements IParameterInfoParameterDescriptor so that any custom attributes on the parameter can be inspected. Relates to #36438. * Remove file-scoped namespace Addresses review feedback. Co-authored-by: Martin Costello <[email protected]>
PR Title
Expose ParameterInfo for Minimal Actions API Explorer
PR Description
Populate the
ParameterDescriptorfor Minimal Actions parameters with a type that implementsIParameterInfoParameterDescriptorso that any custom attributes on the parameter can be inspected.Relates to #36438