mvc-api
mvc-api copied to clipboard
Provide access to parameter type via ParamError
Issue by chkal
Sunday Jul 08, 2018 at 08:41 GMT
Originally opened as https://github.com/mvc-spec/mvc-spec/issues/173
I would be nice to have something like getJavaType() on ParamError. The actual type of the parameter on the Java side is very important, especially in the context of binding errors.
Actually this would be very easy to implement in Ozark for BindingError. But adding support for ValidationError would require quite some work. Therefore, I'm assigning this to "Future".