Looks like dependsOn() is being ignored. The seed files are only being processed alphabetically.
Grails version 7.0.7
SeedMe version 7.0.0
Say you have Author and Book domain classes.
- Create Authors.groovy and Books.groovy seed files
- Run the seeds
- Database is seeded as expected
- Rename the seed files to something like BAuthors.groovy and ABooks.groovy
- In ABooks.groovy specify that it depends on BAuthors
- Run the seeds
- Errors appear in the console
- Property [author] of class [class foo.Book] cannot be null
Looks like
dependsOn()is being ignored. The seed files are only being processed alphabetically.Grails version 7.0.7
SeedMe version 7.0.0
Say you have Author and Book domain classes.