googleapis / googleapis/google-cloud-java

[java-firestore] Docs: Code snippet for City class does not match Android Java version

未关闭
#13,132 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: firestore type: docs
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

#### Environment details

Documentation on https://firebase.google.com/

#### Steps to reproduce

1. Open the [Add data to Cloud Firestore](https://firebase.google.com/docs/firestore/manage-data/add-data) page in the docs.
2. Compare the "Java" and "Java Android" code snippets under [Custom objects](https://firebase.google.com/docs/firestore/manage-data/add-data#custom_objects)
3. Notice that there a significant inconsistencies, and that both versions only show part of the class.

#### External references such as API reference guides

- https://firebase.google.com/docs/firestore/manage-data/add-data#custom_objects
- https://firebase.google.com/docs/firestore/query-data/get-data#custom_objects

#### Any additional information below

Related issue on Android snippet https://github.com/firebase/snippets-android/issues/322

See pull request https://github.com/googleapis/java-firestore/pull/877

贡献指南

打开贡献指南

调研方向

检查 custom_objects 锚点处的“Add data to Cloud Firestore”页面,并比较其中的 Java 和 Java Android 代码片段,然后查看相关的 Android issue 和 java-firestore pull request 877。完成的标准是 City 类示例保持一致,并且每个代码片段都显示完整的类。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。