You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: