Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Passing databaseId in FireProvider #5

Open
joema-ww opened this issue Sep 30, 2024 · 0 comments
Open

Add Support for Passing databaseId in FireProvider #5

joema-ww opened this issue Sep 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joema-ww
Copy link

Description

  • Currently, the library doesn't allow passing a databaseId when instantiating FireProvider. This makes it challenging to interact with multiple databases or target a specific Firestore instance within a project. It would be helpful to allow passing a databaseId parameter to the getFirestore method to support this functionality.
  • This feature would be useful for projects interacting with multiple Firestore databases.

Expected Behavior

The FireProvider's configuration should accept an optional databaseId parameter.
If databaseId is provided, the library should use the specified database instance.
If databaseId is not provided, the default Firestore instance should be used.

Actual Behavior

The current implementation only interacts with the default Firestore database and doesn't allow switching between multiple Firestore databases in a project.

@deathg0d deathg0d added the enhancement New feature or request label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants