firebase / firebase/firebase-tools
[RTDB Emulator] Disabling strictTriggerValidation doesn't work like actual RTDB
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
**firebase-tools:** v9.16.0
**Platform:** macOS
**`firebase setup:emulators:database`:** firebase-database-emulator-v4.7.2.jar
### [REQUIRED] Test case
Disable [`strictTriggerValidation`](https://firebase.google.com/docs/database/usage/limits#global).
Create a function listening at a RTDB path (e.g. `/users/{userId}`) and then using the Admin SDK write 1001 records.
This fails against the emulator but fine against a live RTDB instance.
### [REQUIRED] Steps to reproduce
As above.
### [REQUIRED] Expected behavior
`strictTriggerValidation` to be disabled and the write allowed.
### [REQUIRED] Actual behavior
`TOO_MANY_TRIGGERS: This request would cause too many functions to be triggered.` error.
Contributor guide
Assessment
This issue has not been assessed yet.