angular-parse icon indicating copy to clipboard operation
angular-parse copied to clipboard

Nested objects should be transformed to Pointers when model is saved

Open steren opened this issue 11 years ago • 0 comments

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.

steren avatar Apr 21 '14 13:04 steren