S
Supabase2mo ago
Raflos

Type generation for Kotlin

In this tutorial: https://supabase.com/docs/guides/getting-started/tutorials/with-kotlin#create-a-data-transfer-object It seems that you have to manually define not one but two data classes per type? By hand? This seems cumbersome. Are there any tools out there that automate this using the db schema?
Build a Product Management Android App with Jetpack Compose | Supab...
Learn how to use Supabase in your Android Kotlin App.
2 Replies
Hieu Vu
Hieu Vu2mo ago
In Clean Archiecture, it's a good practice that you should keep data transfer object separate with domain object. From that db schema, you can use Grok or other AI tools to generate both kinds of class and mapper functions just one prompt. Hope this helps.
SupaBot
SupaBot2mo ago
No description

Did you find this page helpful?