Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSR 303 annotations validation in web tier #446

Open
bijukunjummen opened this issue Apr 21, 2016 · 1 comment
Open

JSR 303 annotations validation in web tier #446

bijukunjummen opened this issue Apr 21, 2016 · 1 comment

Comments

@bijukunjummen
Copy link

Hi, this is in relation to the issue described in this stackoverflow question - http://stackoverflow.com/questions/36649331/spring-boot-starter-data-rest-notnull-constraint-not-working.

The gist is that the JSR303 annotation don't appear to getting enforced for resources exposed via @RepositoryRestResource. I could see that it does work for JPA based implementations where the check happens prior to data being inserted or updated but for Mongo and other non-JPA stores it would likely ignore the annotations. I wanted to see what the right approach could be here.

@yonetmen
Copy link

I would also love to see a good solution for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants