Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.43 KB

TODO.textile

File metadata and controls

22 lines (18 loc) · 1.43 KB

TODOs / ideas for next releases

  • check out GORM Redis plugin and the inconsequential implementation and derive some best practices
  • add WriteConcern to methods, where applicable
  • move config to dataSources, throw exception that tells to move config for upgraders. Create “Configuration” documentation
  • add a refresh method to instances, to pull current data from db again
  • add option to drop database on startup (dbCreate = “create-drop” // one of ‘create’, ‘create-drop’,‘update’ see http://grails.org/doc/1.3.x/guide/3.%20Configuration.html#3.3%20The%20DataSource)
  • map Datastore methods onto Domain classes (as static and instance methods) – updateFirst, findAndUpdate
  • Add test for index definition syntax
  • save method: add support for failOnError:true in grails 1.2 (GRAILS-4343)
  • no ast transformation for abstract classes. find a way to mark classes that should not be transformed
  • implement GridFS access
  • implement getAll http://grails.org/doc/1.3.x/ref/Domain%20Classes/getAll.html
  • add support for addTo* methods from GORM
  • contains and remove does not work on referenced collections → because collections that use hashCode for comparison compare hashcodes and are not using equals

NOTES

Classes in grails-app/domain directory

  • Validation methods are injected by Grails
  • id and version properties are injected by Grails