From d9c867fc5048748e5af378fd8465303224668781 Mon Sep 17 00:00:00 2001 From: Dennis Kugelmann Date: Thu, 21 Dec 2023 16:56:17 +0200 Subject: [PATCH] feat: Expose databaseId and projectId getter on Firestore class (#1937) Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/nodejs-firestore/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #1936 --- dev/src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev/src/index.ts b/dev/src/index.ts index 47fe60eb0..a50d10f46 100644 --- a/dev/src/index.ts +++ b/dev/src/index.ts @@ -773,9 +773,6 @@ export class Firestore implements firestore.Firestore { /** * Returns the Database ID for this Firestore instance. - * - * @private - * @internal */ get databaseId(): string { return this._databaseId || DEFAULT_DATABASE_ID;