How do i force my rule to know that the new value is equal the value before + 1 ???
tried:
allow write: if request.resource.data.counter == resource.data.counter + 1
what i'm doing wrong?
How do i force my rule to know that the new value is equal the value before + 1 ???
tried:
allow write: if request.resource.data.counter == resource.data.counter + 1
what i'm doing wrong?