1 Introduction - Reference Documentation
Authors: Diego Toharia
1 IntroductionThe Timestamped plugin aims to solve a small yet recurrent DRY problem when using Grails: the generation of the auto-timestamping properties, which right now has to be explicitly declared along with other properties in a domain class. This has two problems:
- These properties aren't part of the domain class logic, so don't provide value to anyone examining the class.
- If you wan't to switch from the standard class (java.util.Date) to joda-time, you would have to edit all the domain classes to change the property type.