Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Failed to connect to a new db under same project other than default

オープン
#3,425 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
angular, firebase, typescript
領域
database

調査の方向性

まず、現在の AngularFire/Firebase 統合で databaseURL がどのように使用されているかを追跡し、リクエストの対象が Firestore か Realtime Database かを確認します。報告されたバージョンとデフォルトではないデータベース名を使って動作を再現します。要求されたデータベースへの、文書化およびテスト済みの接続が、デフォルトの接続を変更せずに機能すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi, do you support connecting to multiple dbs under same project? it doesn't look like it at the latest version. google forestore supports multiple dbs under a same project now.
https://cloud.google.com/blog/products/databases/manage-multiple-firestore-databases-in-a-project

If planned to support it in future, when would that be happening? If I am wrong, please let me know.
Thanks,

Chris

IMPORTANT! YOU MUST FOLLOW THESE INSTRUCTIONS OR YOUR ISSUE WILL BE CLOSED.

Thank you for contributing to the Angular and Firebase communities!

Have a usage question?

Yes

If the official documentation doesn't help, try asking through our officially supported channels:

Please avoid double posting across multiple channels!

Think you found a bug?

Yes

Have a feature request?

support connecting to multiple dbs under same project

Version info

What versions of the following libraries are you using? Note that your issue may already
be fixed in the latest versions.
Angular:
15.1.0
Firebase:
12.5.2
AngularFire:
7.6.1

Other (e.g. Ionic/Cordova, Node, browser, operating system):
node: 16.15.0

How to reproduce these conditions

put a new database name into datbaseURL:

Failing test unit, Stackblitz demonstrating the problem

Provide a failing test unit, or create a minimal, complete, and
verifiable example (http://stackoverflow.com/help/mcve) using
StackBlitz (https://stackblitz.com/edit/angular-fire-start).

Steps to set up and reproduce
enter a new database name into datbaseURL: Ex) databaseURL: 'https://test.firebaseio.com' (test is name of db)

Sample data and security rules

Expected behavior

What is the expected behavior?
If dabaseURL is put such as databaseURL: 'https://test.firebaseio.com', it should connect to the test database.

Actual behavior

What is the actual behavior?
it connects to default db currently.

主要言語
TypeScript
スター
7.8k
フォーク
2.2k
平均マージ
3日 6時間
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angularfire のほかの issue

angular/angularfire の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。