Skip to content

Firestore: DocumentReference#getCollections() should be async #2771

@samtstern

Description

@samtstern

Most of the Firestore operations return ApiFuture<T>. The method DocumentReference#getCollections() returns an Iterable<CollectionReference> but it should probably return ApiFuture<Iterable<CollectionReference>> since it calls over the network.

Metadata

Metadata

Labels

api: firestoreIssues related to the Firestore API.priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions