Peter-Frank Spierenburg
Results
1
comments of
Peter-Frank Spierenburg
trafficstars
Referring to Thing.gormPersistentEntity from inside domain class Thing causes exception during build
`gormPersistentEntitfy` is required by the GORM GraphQL plugin: https://grails.github.io/gorm-graphql/snapshot/guide/index.html#existing:~:text=dataFetcher(new%20SingleEntityDataFetcher%3C%3E(-,Author.gormPersistentEntity,-)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%40Override%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20protected I believe that `gormPersistentEntity` is already a static method, so adding a layer of indirection as suggested will not actually improve...