mmvergara / supadart

Typesafe queries in Supabase Flutter! Generate Flutter / Dart 🎯 classes from your Supabase schema.
https://supadart.vercel.app
MIT License
36 stars 4 forks source link

Handling Relationships #17

Closed mmvergara closed 1 month ago

mmvergara commented 3 months ago

Current way to handle the relationship issue

  final x = Books.fromJson(sampleJson);
  final x_author = Author.fromJson(x.author_id as Map<String, dynamic>);

Pros:

Cons:

mmvergara commented 3 months ago

Need to add Example for this