firestoreodm-flutter
firestoreodm-flutter copied to clipboard
Can't create nested subcollection without wildcard
When I try to create a collection with nested collection without wildcard, like so:
@Collection<Task>('users/*/task/dataExtraction')
I get the following error:
[SEVERE] cloud_firestore_odm_generator on lib/database/model.dart:
The annotation @Collection received "users/*/task/dataExtraction" as collection path, but this path points to a document instead of a collection
I'm trying to create multiple collections with common root for groupQuery: tasks/typeA tasks/typeB