Skip to content
New issue

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

[cloud_firestore_odm] Have an error if the @Collection is in a different file from the model #26

Open
TarekkMA opened this issue Jul 4, 2024 · 1 comment

Comments

@TarekkMA
Copy link

TarekkMA commented Jul 4, 2024

Moved from: firebase/flutterfire#11236

Related to firebase/flutterfire#11228

Currently, if the model & collection reference are in different files, we'll get a compilation error.
This is a known limitation, but we are lacking a nice error message to catch this early on. At the moment, folks would have to find it the hard way, by having a compilation error in the generated code and googling why that is the case.

@diegogarciar
Copy link

also related to #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants