Skip to content

firestore: samples should include client creation #11993

Open
@daniel-sanche

Description

@daniel-sanche

Currently, we have one sample for creating a client, and the others assume the client already exists.

This causes problems, because we have both a sync and an async client, and using the wrong client leads to errors. When the samples are viewed stand-alone, they don't give the proper context

We should instead include the creation of the client (and any important imports) as part of each sample, so they can better stand alone

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the Firestore API.priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.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