Skip to content

RTDB emulator v4.6.1 #2765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 30, 2020
Merged

RTDB emulator v4.6.1 #2765

merged 2 commits into from
Oct 30, 2020

Conversation

jmwski
Copy link
Contributor

@jmwski jmwski commented Oct 30, 2020

Description

Contains a fix for a longstanding emulator bug that caused #2734

Scenarios Tested

Ran npm install and node lib/bin/firebase.js emulators:start --only database

curl -H "Authorization: Bearer owner" -X PUT -d @bad.rules.json localhost:9000/.settings/rules.json?ns=test-ns

Where bad.rules.json contains the example rules from the issue:

{
  "rules": {
      "$offering_id": {
          ".validate": "newData.hasChildren(['timestamp', 'text']"
      }
  }
}

@google-cla google-cla bot added the cla: yes Manual indication that this has passed CLA. label Oct 30, 2020
@jmwski jmwski requested a review from samtstern October 30, 2020 14:40
@jmwski jmwski merged commit 91bd55c into master Oct 30, 2020
@jmwski jmwski deleted the jw/rtdb-emulator-v4.6.1 branch October 30, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Manual indication that this has passed CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants