mmvergara / supadart

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

Handling Relationships #17

Closed mmvergara closed 3 months ago

mmvergara commented 5 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 4 months ago

Need to add Example for this