Skip to content

Provide default values for namespace and database for v2 Firestore triggers in extensions - #8395

Merged
joehan merged 3 commits into
masterfrom
jh-v2-firestore-ext
Apr 2, 2025
Merged

joehan merged 3 commits into
masterfrom
jh-v2-firestore-ext

Conversation

@joehan

@joehan joehan commented Apr 1, 2025

Copy link
Copy Markdown
Member

Description

If omitted from the resource definition, we should still use fallback values for these triggers (to match the behavior of firebase-functions).

Fixes #8390.

Scenarios Tested

Successfully emulated the v2.0.1 of the typesense extension (following the repro provided at https://github.com/tharropoulos/firebase-reprod)

Comment thread src/emulator/functionsEmulator.ts Resolved
Comment thread src/emulator/functionsEmulator.ts Resolved
@joehan
joehan enabled auto-merge (squash) April 2, 2025 19:58
@joehan
joehan merged commit 2e1b45a into master Apr 2, 2025
blidd-google pushed a commit that referenced this pull request May 12, 2025
…iggers in extensions (#8395)

* Provide default values for namespace and database for v2 Firestore triggers in extensions

* Update src/emulator/functionsEmulator.ts
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.

A namespace must be supplied with no further debugging explanation on emulator setup

2 participants