We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODM can handle spaces in collection ids. The official restrictions on collection ids are documented here: https://firebase.google.com/docs/firestore/quotas#limits
ODM refuses to generate code when a collection id containing a space is passed to @Collection().
@Collection()
Relevant LOCs: https://github.com/FirebaseExtended/firestoreodm-flutter/blob/main/packages/cloud_firestore_odm_generator/lib/src/collection_data.dart#L341
Unfortunately we have a few collections with spaces in their names, which blocks us from fully adopting the Cloud Firestore ODM.
@Collection('hello world')
@Collection('helloworld')
This is a maintenance nightmare though.
The text was updated successfully, but these errors were encountered:
Sure. Fancy making a PR?
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
ODM can handle spaces in collection ids. The official restrictions on collection ids are documented here: https://firebase.google.com/docs/firestore/quotas#limits
Actual Behavior
ODM refuses to generate code when a collection id containing a space is passed to
@Collection()
.Relevant LOCs: https://github.com/FirebaseExtended/firestoreodm-flutter/blob/main/packages/cloud_firestore_odm_generator/lib/src/collection_data.dart#L341
Unfortunately we have a few collections with spaces in their names, which blocks us from fully adopting the Cloud Firestore ODM.
Hacky Workaround
@Collection('hello world')
becomes@Collection('helloworld')
This is a maintenance nightmare though.
The text was updated successfully, but these errors were encountered: