firebase / firebase/firebase-tools

RTDB Emulator allows write / read to a DB without a namespace

Open
#2,552 1 comment 0 reactions 1 assignee Claimed by @yuchenshi View on GitHub
emulators: database polish type: feature request
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

If you spin up the RTDB emulator, you can do...

```
curl -XPOST -d '"Data!"' localhost:9000/test.json
```

then

```
curl -XGET localhost:9000/test.json
```

These ops succeed but do not trigger functions as they appear to be going to some invisible (default?) namespace. Maybe we should make ops without an `ns` flag point to the only know `ns` if there's only one, otherwise return an error?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.