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

Minimal APIs ModelBinderProvider #33955

Closed
doddgu opened this issue Jun 30, 2021 · 2 comments
Closed

Minimal APIs ModelBinderProvider #33955

doddgu opened this issue Jun 30, 2021 · 2 comments
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-minimal-actions Controller-like actions for endpoint routing
Milestone

Comments

@doddgu
Copy link

doddgu commented Jun 30, 2021

Is your feature request related to a problem? Please describe.

I am trying to do let dapr-dotnet sdk support FromStateAttribute for Minimal APIs, but MvcOptions is not working. Because I use app.MapGet(?), it does not use MvcOptions.

Describe the solution you'd like

Let me know how add ModelBinderProvider to Minimal APIs, I can not find any document about this.
Or how custom model binder to Minimal APIs.

Additional context

@javiercn javiercn added area-runtime feature-minimal-actions Controller-like actions for endpoint routing labels Jun 30, 2021
@BrennanConroy
Copy link
Member

Triage: We currently don't support any model binding interception in Minimal APIs, if you want to do that you need to use MVC.

@BrennanConroy BrennanConroy added this to the Backlog milestone Jun 30, 2021
@ghost
Copy link

ghost commented Jun 30, 2021

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@ghost ghost locked as resolved and limited conversation to collaborators Sep 18, 2021
@amcasey amcasey added area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc and removed area-runtime labels Jun 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 feature-minimal-actions Controller-like actions for endpoint routing
Projects
None yet
Development

No branches or pull requests

5 participants