Skip to content

Interface for CollectionReference, DocumentReference, DocumentSnapshot (etc) to facilitate mocking #4106

@PadmanavAgarwal

Description

@PadmanavAgarwal

Currently CollectionReference, DocumentReference, DocumentSnapshot don't provide an interface which makes these difficult to be mocked for Unit Testing.

Is there any plan to add the same or any workaround available?

A PR for similar purpose was merged in the Java library : Java PR 3562

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the Firestore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions