firebase / firebase/firebase-admin-node

[FR] Abillity to connect auth and storage emulator without env variables

オープン
#1,454 コメント 3 件 リアクション 0 件 担当者 1 名 @yuchenshi が担当を希望しています GitHub で見る
api: auth api: storage help wanted type: feature request
主要言語
TypeScript
スター
1.7k
フォーク
419
平均マージ
3日 10時間
マージ済み PR(30日)
16

説明

**Is your feature request related to a problem? Please describe.**
I want to make a copy of my production env to develop locally, for this purpose, i need to copy data from firestore and some blob from storage.
To connect the firestore sdk locally, you can do
```javascript
admin.firestore().settings(...)
```
For other products like auth or storage, this kind of settings is not possible and you must provide an environment variable.
But all `app` initialized share this env variables and won't allow you to connect to both production and emulator environment

**Describe the solution you'd like**
Provide an interface like the `settings` of firestore for other emulator products

**Describe alternatives you've considered**
- Override `baseUrl` and `apiEndpoint` for my current storage instance
- Use scripts to export/import my production data

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

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

評価

この issue はまだ評価されていません。

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

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