angular / angular/angularfire

Docs: Emulator guide missing breaking changes in >7.0

未關閉
#3,205 3 則留言 7 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

### How to reproduce these conditions

The [upgrade guide](https://github.com/angular/angularfire/blob/master/docs/version-7-upgrade.md) for v7 mentions a breaking change: "`USE_EMULATOR` DI token is now in the form of `['http://localhost:9099']`". This change is not documented in [the Emulators guide](https://github.com/angular/angularfire/blob/master/docs/emulators/emulators.md). The Emulators guide still shows:
`{ provide: USE_AUTH_EMULATOR, useValue: environment.useEmulators ? ['localhost', 9099] : undefined },`

This is shown under '6.1 Method'. Something should probably be written for v7+.

貢獻指南

開啟貢獻指南

研究方向

閱讀 docs/version-7-upgrade.md,並將其中關於 USE_EMULATOR 的指引與 docs/emulators/emulators.md「6.1 Method.」下的範例進行比較。更新 v7+ 的 Emulators 指南,使文件中的 USE_AUTH_EMULATOR 值與 breaking change 格式一致,然後確認範例及其周圍的說明是否一致。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, firebase, typescript
領域
documentation
Issue 類型
文件
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
57/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。