This will save someone hours of headaches wondering why they're getting an error saying "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore"
(note, the collection() reference is especially confusing when you're using doc() ..but that's an AngularFire bug)
This will save someone hours of headaches wondering why they're getting an error saying "Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore"
(note, the collection() reference is especially confusing when you're using doc() ..but that's an AngularFire bug)
https://stackoverflow.com/questions/73508522/expected-first-argument-to-collection-to-be-a-collectionreference-a-documentr/73643724#73643724