Re: JAX-RS and @ValidateOnExecution
Pavel Bucek
Do we have BeanValidation expert here? ;) Gunnar?
toggle quoted messageShow quoted text
I believe the implementation should skip the method validation when @ValidateOnExecution(type = ExecutableType.NONE)is on the method / class. But what about when @ValidateOnExecution(type = ExecutableType.CONSTRUCTORS)is on the resource method? Seems like Jersey (and sorry for bringing implementation details here, but I believe it is relevant) was using @ValidateOnExecution only for deciding whether to validate return value of that method. When I fixed it, other tests are not passing and I'm not sure what should be the correct behavior in that case. Thanks and regards, Pavel
On 20/06/2017 07:48, Pavel Bucek wrote:
|
|