ServiceComposer / ServiceComposer.AspNetCore

🧩 ServiceComposer, a ViewModel Composition API Gateway
https://milestone.topics.it/categories/view-model-composition
Apache License 2.0
73 stars 11 forks source link

Make model bind throw on binding errors, with an option to disable #674

Open mauroservienti opened 4 months ago

mauroservienti commented 4 months ago

In 2.2.0, a TryBind option allowed the inspection of the model's binding state. In a future release supporting https://github.com/ServiceComposer/ServiceComposer.AspNetCore/issues/247, the model binding should behave similarly to ASP.Net Core and, by default, throw on errors, with an option to configure it to not throw.