elersong / fireorm24

ORM for Firebase Firestore 🔥 updated for 2024
MIT License
1 stars 0 forks source link

Refactor the firestore reference check to prevent duplication #29

Open elersong opened 3 months ago

elersong commented 3 months ago

wovalle commented on Dec 5, 2020

To do any operation in firestore we have to have the firestore admin reference (what is passed to initialize). There are checks all over the codebase to ensure we don't execute an operation if we don't have the reference.

Explore where that check is really needed and refactor accordingly.