googleapis / googleapis/google-cloud-java

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

オープン
#13,132 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: firestore type: docs
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

#### 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

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

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

評価

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

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

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