morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Kotlin DSLs for query and aggregations

Open evanchooly opened this issue 2 years ago • 3 comments

Explore kotlin dsls as alternatives for the standard Datastore/Query/Aggregation APIs.

evanchooly avatar Jun 22 '23 14:06 evanchooly

Hi @evanchooly, really looking forward to seeing this in the future.

In the meantime, can you advise whether Critter is still Kotlin-compatible? I'd love to make use of it in the meantime, even if it's not quite as pretty as Kotlin DSL.

TheFlash787 avatar May 24 '24 19:05 TheFlash787

critter should be usable via kotlin. there are tests against kotlin code so I would expect that work. Critter is a bit behind Morphia, however, and doesn't work with 2.4 last I checked. It should work with 2.3, though.

I'm working on integrating critter in to the main morphia repo as part of 3.0 so that sort of lag is no longer a problem. I just started work on that this last week, really. It's one of the tent pole features of 3.0 that I'm most excited about honestly.

evanchooly avatar May 24 '24 20:05 evanchooly

critter should be usable via kotlin. there are tests against kotlin code so I would expect that work. Critter is a bit behind Morphia, however, and doesn't work with 2.4 last I checked. It should work with 2.3, though.

I'm working on integrating critter in to the main morphia repo as part of 3.0 so that sort of lag is no longer a problem. I just started work on that this last week, really. It's one of the tent pole features of 3.0 that I'm most excited about honestly.

Thank you so much!

TheFlash787 avatar May 24 '24 20:05 TheFlash787