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
We should probably improve ValidationAutoConfiguration (#6228 ) to expose a Validator then. Right now, we don't use any of the logic in ConfigurationPropertiesBindingPostProcessor
I would love to have automatic validation just by adding an annotation on an entity. As a developer I expect to write only 'significant' code.
If I have
I expect it to be the only code I have to write to make sure this field will never be persisted as null.
Currently I have to add a validator bean like so:
I know it's not a lot to add, but from a devex perspective, I would find it easier to have it directly set in CouchbaseAutoconfiguration.
That being said I might not realize fully what having a validator declared implies other than making sure your annotation will be taken into account.
The text was updated successfully, but these errors were encountered: