fluent-validator icon indicating copy to clipboard operation
fluent-validator copied to clipboard

A Java validation framework leveraging fluent interface style and JSR 303 specification

Results 25 fluent-validator issues
Sort by recently updated
recently updated
newest added

Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework) from 4.1.7.RELEASE to 5.3.18. Release notes Sourced from spring-webmvc's releases. v5.3.18 :star: New Features Restrict access to property paths on Class references #28261 Introduce cancel(boolean mayInterruptIfRunning) in ScheduledTask...

dependencies

因为我们项目中使用的ErrorCode是用String数据类型,所以String数据类型感觉会更通用一些吧。

场景描述:在校验中会做一些查数据库操作,校验通过想通过返回值拿到这些值,为后续逻辑层使用。 问题:能通过捕获异常的方式,拿到错误信息,但没不知道怎样获取正确的返回?

版本:1.0.9 和mybatis-plus集成后,创建代理: @Bean public BeanNameAutoProxyCreator beanNameAutoProxyCreator(){ BeanNameAutoProxyCreator proxyCreator = new BeanNameAutoProxyCreator(); proxyCreator.setProxyTargetClass(true);//默认是false,不设置会导致controller 404 proxyCreator.setBeanNames("*ServiceImpl"); proxyCreator.setInterceptorNames("fluentValidateInterceptor"); return proxyCreator; } 请求报空指针,打断点跟代码发现: Method implMethod = ReflectionUtil.getMethod(targetClass, invocation.getMethod().getName(), parameterTypes); 无法获取接口中的默认方法,从而implMethod=null

Bumps commons-io from 2.4 to 2.7. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=commons-io:commons-io&package-manager=maven&previous-version=2.4&new-version=2.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies

1. 比如一个登陆操作 有账号校验,密码校验,还有验证码等校验多个步骤 假如其中有任何一个步骤校验不通过 则拦截其中添加登陆失败次数 这种模式怎么实现

Bumps [hibernate-validator](https://github.com/hibernate/hibernate-validator) from 5.2.1.Final to 5.3.6.Final. Changelog Sourced from hibernate-validator's changelog. 5.3.6.Final (19-10-2017) ** Bug * HV-1498 - engine - Privilege escalation when running under the security manager * HV-1494...

dependencies

Bumps commons-beanutils from 1.8.3 to 1.9.4. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=commons-beanutils:commons-beanutils&package-manager=maven&previous-version=1.8.3&new-version=1.9.4)](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

@Data public class AddClassParams { @NotNull(message = "班级信息不能为空") @ApiModelProperty(value = "班级信息") @FluentValid private ClassParamsForInsert classInfo; } @Data public class ClassParamsForInsert { @NotNull(message = "班级名称不能为空") @FluentValidate(value = {StringValidator.class}) @ApiModelProperty(value = "班级名称",...