No such method/property 'isString' in Firebase Database rule -
i'm new in firebase, want each project property string of minimum length 32
{ "rules": { "project": { "$a": { ".read": true, ".write": "auth != null && $a.isstring() && 32 <= $a.length",
here $a
project property name $a.isstring()
not aviliable & getting error
how check $a
string of minimum 32 length ?
keys strings, don't need (and apparently can't even) check that.
{ "rules": { "project": { "$a": { ".read": true, ".write": "auth != null && 32 <= $a.length",
by way: yoda conditions don't make difference in firebase security rules, since we'll never assign value left-hand side of expression anyway.
Comments
Post a Comment