-
-
Notifications
You must be signed in to change notification settings - Fork 180
Closed
micronotes-dev/laravel-firebase
#1Description
Describe the feature you would like to see
As described in https://cloud.google.com/firestore/docs/manage-databases?hl=fr#create_a_database, I would like to be able to override the constant defined in FirestoreClient named DEFAULT_DATABASE.
The goal will be to allow defining it via the configuration file.
My application uses multi-tenancy, and I want to switch the configuration while bootstrapping or reverting the tenancy.
I thought I just had to extend the Factory class (impossible because it's final), or whatever, but I couldn't accomplish this.
Maybe is it another way to do this?
Thank you for your awesome work in this package.
Used versions:
- laravel/framework : v10.28.0
- kreait/laravel-firebase : v5.4.0
- google/cloud-firestore : v1.37.3
Metadata
Metadata
Assignees
Labels
No labels