Skip to content

Error: schema mismatch Operation instances #4884

Closed
@Aetherall

Description

@Aetherall

I am adding a field level permission layer using beforeSave triggers

For this to work, I use a class extending Parse.Object to extend my Data Classes.

This works like a charm on the client, on the server, I am experiencing issues when the data get decoded before "beforeTrigger"s:

The Operations like AddOp get interpreted as "part of the data" and it messes up the "to be saved" data

I am looking for someone who could lead me in the right direction about where to look to fix the issue, and why not do a PR afterward

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions