firestore: enable a flag when emulator is used #9032
Labels
api: firestore
Issues related to the Firestore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Given a firestore client, I'd like to be able to tell if the client is connected to the actual firestore servers or just the emulator.
Describe the solution you'd like
A
bool
on the client or a method to indicate if the client is connected to an emulator or not.Describe alternatives you've considered
No alternatives considered.
Additional context
Happy to submit a PR for this.
The text was updated successfully, but these errors were encountered: