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 can add javax.validation annotations very easily, which is great. But as far as I can see, there's no easy way to (automatically) trigger the validation for each operation.
Currently we have to add the @Validated annotation to our operation implementations. Not a huge deal, but easy to forget. It would be neat if we could configure custom annotations to be added to the operation interfaces.
Our current workaround is to derive custom annotated sub-interfaces for use with the parentInterfaces configuration options. This works, but adds clutter to our codebase.
Is there a way to achieve automatic validation that maybe I'm not seeing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone, thanks for the great library.
We can add
javax.validation
annotations very easily, which is great. But as far as I can see, there's no easy way to (automatically) trigger the validation for each operation.Currently we have to add the
@Validated
annotation to our operation implementations. Not a huge deal, but easy to forget. It would be neat if we could configure custom annotations to be added to the operation interfaces.Our current workaround is to derive custom annotated sub-interfaces for use with the
parentInterfaces
configuration options. This works, but adds clutter to our codebase.Is there a way to achieve automatic validation that maybe I'm not seeing?
Beta Was this translation helpful? Give feedback.
All reactions