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 摘要。