mvc-api icon indicating copy to clipboard operation
mvc-api copied to clipboard

Provide access to parameter type via ParamError

Open chkal opened this issue 5 years ago • 0 comments

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".

chkal avatar Jul 19 '20 09:07 chkal