ParseReact icon indicating copy to clipboard operation
ParseReact copied to clipboard

New Parse.Files need to be saved before setting them as values

Open andrewimm opened this issue 10 years ago • 1 comments

If you create a Parse.File, it needs to be saved before it can be set to an object field. The code looks something like this:

var myImage = new Parse.File(fileName, fileData);
myImage.save().then(function() {
  return ParseReact.Mutation.Set(myObject, { image: myImage }).dispatch();
});

This should be handled automatically by the Set mutation.

andrewimm avatar Mar 28 '15 03:03 andrewimm

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

ghost avatar Aug 04 '15 19:08 ghost