> On Oct 21, 2015, at 8:49 AM, Aaron <
lon...@gmail.com> wrote:
>
> I was thinking it needed to be non-static so I could override it in classes that implement the trait. However, playing around I see that implementing classes can apparently override static methods as well in the trait (I guess I was thinking about it too 'java').
>
> If I had @Validateable(nullable = true) on a command object, would switching to implements Validateable and then adding static boolean defaultNullable() { return true } be the way to get the same behavior in Grails 3?
which includes testing a class which overrides defaultNullable(). There are also some docs at
which shows an example. The Validateable docs are a little fragmented right now. The notes at
should be aligned with the command object notes I linked above. Pull requests to
are welcome. :)