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

Support binding from types defined with an AsParameters attribute #46336

Closed
4 tasks done
captainsafia opened this issue Jan 30, 2023 · 1 comment
Closed
4 tasks done
Assignees
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels feature-rdg
Milestone

Comments

@captainsafia
Copy link
Member

captainsafia commented Jan 30, 2023

Support binding parameters that are encapsulated in a type marked with an AsParameters type.

  • Supports existing parameter types (FromX, implicit route or query, implicit JSON body or service, form)
  • Support parameter types that need ParameterInfo (BindAsync and IEndpointParameterMetadataProvider)
  • Supports nullability in properties and constructor parameter
  • Emits diagnostics for malformed AsParameters type
@captainsafia captainsafia added the area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Jan 30, 2023
@captainsafia captainsafia added this to the 8.0-preview2 milestone Jan 30, 2023
@captainsafia captainsafia self-assigned this Jan 30, 2023
@captainsafia
Copy link
Member Author

This will need to move to preview5.

@amcasey amcasey added the area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc label Jun 2, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc area-web-frameworks *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels feature-rdg
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants