|
@@ -379,6 +379,9 @@ func RequestParams(args string, params map[string]*Parameter) func(ctx context.C
|
|
|
if param.Validation != nil {
|
|
|
for validator, args := range param.Validation {
|
|
|
if fn, found := validationParamFunctions[validator]; found {
|
|
|
+
|
|
|
+ ctx.Application().Logger().Info(fmt.Sprintf("validadete[%s][%s][%v]", validator, args, value))
|
|
|
+
|
|
|
if err = fn(value, args); err != nil {
|
|
|
return nil, err
|
|
|
}
|