firestoreodm-flutter icon indicating copy to clipboard operation
firestoreodm-flutter copied to clipboard

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

Open TarekkMA opened this issue 7 months ago • 1 comments

Moved from: https://github.com/firebase/flutterfire/issues/11236

Related to https://github.com/firebase/flutterfire/issues/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.

TarekkMA avatar Jul 04 '24 07:07 TarekkMA