googleapis / googleapis/google-cloud-java

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

Đang mở
#13,132 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: firestore type: docs
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
157

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.