Docs: Code snippet for City class does not match Java version
paulsmithkc opened this issue · comments
Environment details
Documentation on https://firebase.google.com/
Steps to reproduce
- Open the Add data to Cloud Firestore page in the docs.
- Compare the "Java" and "Java Android" code snippets under Custom objects
- 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 Java snippet googleapis/java-firestore#876
See pull request #323
@paulsmithkc Thanks for bringing this up and putting together a PR.
I don't think they were ever meant to match, since those are 2 different SDKs: "Java Android" uses the Android Client SDK while "Java" uses the Java Admin SDK.