Skip to content

Nested objects should be transformed to Pointers when model is saved #5

Description

@steren

Fetch an object that has a pointer member by asking to include this nested object: MyModel.find(id, {include: 'child'});.

Then call save() on this object. Parse sends a Bad Request response: {"code":111,"error":"invalid type for key child, expected *Child, but got object"}

I think members with type __Object should be transformed to __Pointer when sent back to parse.
I will find time to work on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions