Can @Match(".*") work?
Hmm. Good solution.
Maybe a parameter like allowEmpty could be added to @Required. What do you think?
> --
> You received this message because you are subscribed to the Google
> Groups "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/2a26NiqUBXIJ.
No, he wants to allow empty string but @Required does not allow it.
> I think that NotNull is already available through the oval framework on
> which play depends
Yes, it is available as in his code sample. But it seems that there is
no annotation.
>
> Regards
> Ronald
> WebRep
> Algemene beoordeling
>
> --
> You received this message because you are subscribed to the Google
> Groups "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/qJNrIGS5grkJ.