Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Validation doesn't get triggered for values extracted from NameValuePairsValueProvider [1422]

$
0
0
The issue is that model binding supports a direct mode where parameters are taken from the value providers(lets say route data) and then directly bound to the action parameters.

This mode doesn't support validation as until now, it only works for primitive types and they don't require any validation.

By adding this custom value provider we now support model binding non-primitive types using this code path and that is why validation is not being performed.


Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>