billbogaiv / hybrid-model-binding

Provides the ability to bind models using both ModelBinder and ValueProvider in ASP.NET Core.
MIT License
104 stars 19 forks source link

Feature: FromHybrid attribute could take Source parameters #18

Closed nkovacic closed 3 years ago

nkovacic commented 5 years ago

A greate feature for FromHybrid attribute woulde be if it could take Source parameters.

Example: public async Task<IActionResult> Get([FromHybrid(Source.FromRoute, Source.FromBody)]ApiParameters apiParameters)

billbogaiv commented 3 years ago

Thanks for the suggestion.

Took a while, but finally got this complete. Added notes in the README.

nkovacic commented 3 years ago

Heh, better late than never ;)