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

Users cannot bind to existing models #274

Open
mauroservienti opened this issue Mar 12, 2021 · 0 comments
Open

Users cannot bind to existing models #274

mauroservienti opened this issue Mar 12, 2021 · 0 comments
Labels
enhancement Enhancement to existing features

Comments

@mauroservienti
Copy link
Member

mauroservienti commented Mar 12, 2021

As described in #242 (comment), there might be the need for users to bind the incoming request to an existing model. As of today the model binder always creates a new instance of the model to bind to.

This could be as easy as creating a Bind<TModel> overload that accepts a model instance to bind to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to existing features
Projects
Status: To do
Development

No branches or pull requests

1 participant