I've thought about it as well. Simply adding the FIELD to the target is not fine - if you implemented at least initial support for it (spring, aspectj) then I don't see why not. There was a similar case when I implemented support for TYPE. I don't personally use AspectJ or Spring but since we ship with those libraries, it'd be pretty odd to just add something to the interfaces without the implementation.
Kalle On Sun, Oct 24, 2010 at 1:32 AM, Peter Ledbrook <[email protected]> wrote: > Hi, > > Would it be OK to make all the *Required annotations apply to fields > as well? I'm talking about simply adding FIELD to the Target of the > annotation rather than adding any extra implementation to Shiro. The > reason I'd like this is so that Grails users can apply the annotations > to controller actions. > > Thanks, > > Peter >
