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

Add Column Select Test and Abstract Class for Generated Classes #22

Closed mmvergara closed 4 months ago

mmvergara commented 4 months ago

Add Column Select Test and Abstract Class for Generated Classes

abstract class GeneratedClass<T> {
  static String get table_name {
    throw UnimplementedError();
  }

  static String get c_id => 'id';

  static Map<String, dynamic> insert(Map<String, dynamic> data) {
    throw UnimplementedError();
  }

  static Map<String, dynamic> update(Map<String, dynamic> data) {
    throw UnimplementedError();
  }

  factory GeneratedClass.fromJson(Map<String, dynamic> json) {
    throw UnimplementedError();
  }
}
vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
supabase-schema-dart-class-generator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 11:45am