Mike Koss
Mike Koss
There is no way to write a test for a [multi-location update](https://www.firebase.com/blog/2015-09-24-atomic-writes-and-more.html) in the simulator since all writes are to an atomic location and sequential. Expect a way to test...
e.g. "string".contains(ref) is valid in JSON, but should not be in Bolt (changed to "string".includes(ref)). Expect: Bolt to warn the user when they use unrecognized functions: contains => includes beginsWith...
As is, the test output just shows "Rules test." instead of one succeeding test per rulesSuite.test.
If you reference an unknown variable, Bolt will leave it in the output unchanged. Expect: Warn user about use of undefined variables. (need to list know globals, like `now`).
When you define a nested collection, you have to define a separate type for it, and refer to it in a separate path statement. This is non-obvious and seems like...
We should not allow Firebase methods to be used in Bolt.
Bolt currently will only report one syntax error at a time (the first one found). Expect: The parser to advance to the next statement and resume parsing so all the...
The current version of Bolt (after 0.4) allows read() and write() expressions in type statements. Since these are not explicitly "schema" based (more authorization than schema), this could cause rules...
Do simplification based on the ast tree rather than the textual representation. I'd like to provide a simplify() function that will convert: validate: true => remove write: false => remove...