Skip to content

Conversation

joehan
Copy link
Contributor

@joehan joehan commented Mar 28, 2025

Description

Fixes #8379.
Admin checks DATA_CONNECT_EMUALTOR_HOST: https://github.com/firebase/firebase-admin-node/blob/a46086b61f58f07426a6ca103e00385ae216691d/src/data-connect/data-connect-api-client-internal.ts#L220
Web SDK checks https://github.com/firebase/firebase-js-sdk/blob/61f0102ac85e4fd6c54506df93b1f1899e3ef110/packages/data-connect/src/api/DataConnect.ts#L65

We'll address that discrepancy in future releases, but continue setting both here to make sure this stays working for as many users as possible.

@joehan joehan requested a review from maneesht March 28, 2025 16:46
@joehan joehan merged commit d5a2bfb into master Mar 28, 2025
48 of 49 checks passed
@joehan joehan deleted the jh-admin-env-var branch March 28, 2025 17:21
blidd-google pushed a commit that referenced this pull request May 12, 2025
* Set Data Connect emulator env var for admin SDK too

* Clarify changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to perform queries on Data Connect locally using Cloud Functions in emulator
3 participants