Micronaut Data equivalent of GORM's DetachedCriteria #4985
-
After digging around in the grails/gorm-graphql codebase a fair bit, I've come to really appreciate the composability that GORM's DetachedCriteria give you. I'm still trying to wrap my head around parts of that project but how @graemerocher and @jameskleeh used DetachedCriteria for query optimization across deep graph queries is brilliant, and it's easily the best use case I've found for them so far. Due to Micronaut Data's AoT compilation I have no idea how something similar would be possible, but I'm curious if you've put any thought into anything of the sort? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That currently doesn't fit the designed use case for Micronaut data, which is predefined queries. Support for something like that may be added in the future, but for now we recommend tools like jooq. |
Beta Was this translation helpful? Give feedback.
That currently doesn't fit the designed use case for Micronaut data, which is predefined queries. Support for something like that may be added in the future, but for now we recommend tools like jooq.