TouK / krush

Idiomatic persistence layer for Kotlin
Apache License 2.0
248 stars 13 forks source link

Multiplatform support #1

Open rjaros opened 4 years ago

rjaros commented 4 years ago

Any chance of making this project support multiplatform apps, where model classes are declared inside a common module?

pjagielski commented 4 years ago

As discussed on Slack the goal is to support shared data model for Kotlin JVM/JS multiplatform projects as in https://github.com/rjaros/kvision-examples/tree/master/addressbook-fullstack-ktor/src/commonMain/kotlin/com/example

Pilleo commented 4 years ago

@pjagielski Glad to see you are thinking about it, but do you have any plans about about it? Maybe it would be easier just to maps every JPA annotation to have multiplatform compatible analog in Krush?

Pilleo commented 3 years ago

Hello, any updates on the topic? Maybe we could also generate JS entity by just removing all JVM annotations?