flamingo
flamingo copied to clipboard
[Flutter Library] Flamingo is a firebase firestore model framework library. 🐤
We have a collection, let's say "Users" and we'd like any user to be able to query list of all user names but not other fields. In firestore we can...
Every time we save model it also updates createdAt and updatedAt field. We'd expect the createdAt field would not be updated for future object updates. Code sample: ```dart final batch...
Even if we have following in pubspec.yaml ``` flamingo_generator|field_value_generator: generate_for: include: - lib/models/*.dart ``` the generator reports warnings about other files such as: ``` [WARNING] flamingo_generator:field_value_generator on lib/screens/project_editor_screen.dart: project_editor_screen.flamingo.dart must...
We have following field which has no value in Firestore. If we fetch this model we get an error. We do not want to add `bool?` since we take this...
I think if Document.onRelease() is executed before the commit(), then the data could be corrupted(because it does ` incrementValue = null;` https://github.com/hukusuke1007/flamingo/blob/7437db4dd66157499d65013230032d6cba7f08a6/flamingo/lib/src/model/increment.dart#L41 ). So maybe Document.onRelease() should be private? Also,...