Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: find emulator project id from environment variable
Previously, if `FIRESTORE_EMULATOR_HOST` was set and a `Client` instance was created without an explicit project, it would fall-back to `google-cloud-firestore-emulator` This change makes it check the `GCLOUD_PROJECT` variable for a project id first, which is used by the firebase functions emulator. This means the client will auto-detect the project id if not given in the emulator, just like in a live GCP environment Fixes firebase/firebase-functions-python#174
- Loading branch information