FirebaseExtended / bolt

Bolt Compiler (Firebase Security and Modeling)
Apache License 2.0
896 stars 108 forks source link

Doesn't emit root when using root in rules #214

Closed esprehn closed 6 years ago

esprehn commented 6 years ago

It generates long chains of parent() calls like "newData.parent().parent()", but firebase supports root now.

esprehn commented 6 years ago

I see the explanation is here: https://github.com/firebase/bolt/issues/87#issuecomment-160248217

That's really subtle, maybe the firebase docs should explain this too.