Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Resource Bean Validation #1572
@nickbabcock - Thanks for the pointer - I didn't look around enough to find the right home for the test. I found this while porting some test code from 0.9.2 to 1.0.0-rc2 and so I'm not sure if it is reproducable in the wild - it is more a correctness fix similar to the existing lines found here: https://github.com/dropwizard/dropwizard/blob/master/dropwizard-jersey/src/main/java/io/dropwizard/jersey/validation/ConstraintMessage.java#L115-L118
I was able to come up with an example which failed, but it required enabling validation for the resource itself (instead of just the method parameters). I don't know if this is desired behavior (although it could be useful).
Looks good to me. I renamed the PR to represent the added feature
Merging this now, yet some additional changes should be done in this area: