codeconsole opened a new pull request, #14750:
URL: https://github.com/apache/grails-core/pull/14750

   Previously annotations would only be detected if the super class was another 
domain class. 
   
   This allows a domain class to have parent class that is not a domain class 
and still utilized the `@AutoTimestamp` annotation
   
   e.g. this now works and does not work without this fix
   `src/main/groovy/example/Media.groovy`
   ```groovy
   class Media {
        @AutoTimestamp Date modified
   }
   ```
   
   `grails-app/domain/example/Image.groovy`
   ```groovy
   class Image extends Media {
        String format
   }
   ```
   
   `grails-app/domain/example/Video.groovy`
   ```groovy
   class Media extends Media {
         int frames
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@grails.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to