Typesafe query in flutter #27107
Unanswered
Aadim1
asked this question in
Feature Requests
Replies: 1 comment
|
Hey i made a tool 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());
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey, are there any plans to make the supabase_flutter library typesafe either through code genration or other methods? I believe that it will be a huge plus and improve DX.
Has there been any discussion in the past?
All reactions