mmvergara / supadart

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

Fix toJson bool encoding issue #70

Closed Achraf-cyber closed 2 months ago

Achraf-cyber commented 2 months ago

Updated the toJson method to encode Dart bool values as JSON booleans instead of strings. Previously, boolCol.toString() was used, which caused issues because the fromJson method expected booleans to be encoded as JSON booleans. Replaced boolCol.toString() with boolCol to resolve this issue.

vercel[bot] commented 2 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 Aug 30, 2024 7:17am
mmvergara commented 2 months ago

uuh https://github.com/mmvergara/supadart/pull/69/commits/983f88bab32dfc336c14e4281b3ea876d233cbcf we pr'd at the same time lol

mmvergara commented 2 months ago

https://github.com/mmvergara/supadart/commit/983f88bab32dfc336c14e4281b3ea876d233cbcf