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

Fix singular list binding #47

Closed billbogaiv closed 4 years ago

billbogaiv commented 4 years ago

Previous behavior would not bind a singular incoming value to a property that was enumerable.

Also fix how model-binded values are pushed onto a property. Previous behavior was an unknkown regression due to recent refactoring.

Implements https://github.com/billbogaiv/hybrid-model-binding/issues/46