Add Data Class/Model Generator For Kotlin Development or Flutter Development #22866
Unanswered
rmaprojects
asked this question in
Feature Requests
Replies: 1 comment
-
Hey for flutter, i made a tool'ish to Generate Dart classes from your Supabase schema , maybe it can help you.. Fetching Data Example// fetchedBooks is a typeof List<Books>
final fetchedBooks = await supabase
.from(Books.table_name)
.select("*")
.withConverter((data) => data.map(Books.fromJson).toList()); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I realised that Supabase for Kotlin is kinda tricky because I have to convert the Table into Serialized data class. I know I can generate the whole data class from JSON, but it seems complicated since I have to copy-paste the API key repeatedly from Supabase into API Tester like Postman etc.
It would be cooler if Supabase has JSON to Model kinda like feature for Flutter/Kotlin Development
Beta Was this translation helpful? Give feedback.
All reactions