Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

validate: this with parent, child #231

@dan-leech

Description

@dan-leech

validate() { this == this.parent[auth.uid].timestamp }
compiles into
".validate": "newData.val() == newData.parent[auth.uid].timestamp"
supposed:
".validate": "newData.val() == newData.parent().child(auth.uid).child('timestamp').val()"

workaround is
validate() { this == this.parent().child(auth.uid).child('timestamp').val() }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions