{"action":"closed","issue":{"url":"https://api.github.com/repos/ParsePlatform/ParseReact/issues/129","labels_url":"https://api.github.com/repos/ParsePlatform/ParseReact/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/ParseReact/issues/129/comments","events_url":"https://api.github.com/repos/ParsePlatform/ParseReact/issues/129/events","html_url":"https://github.com/ParsePlatform/ParseReact/issues/129","id":109131706,"number":129,"title":"Creating new Parse Object with Relation","user":{"login":"naoisegolden","id":250892,"avatar_url":"https://avatars.githubusercontent.com/u/250892?v=3","gravatar_id":"","url":"https://api.github.com/users/naoisegolden","html_url":"https://github.com/naoisegolden","followers_url":"https://api.github.com/users/naoisegolden/followers","following_url":"https://api.github.com/users/naoisegolden/following{/other_user}","gists_url":"https://api.github.com/users/naoisegolden/gists{/gist_id}","starred_url":"https://api.github.com/users/naoisegolden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoisegolden/subscriptions","organizations_url":"https://api.github.com/users/naoisegolden/orgs","repos_url":"https://api.github.com/users/naoisegolden/repos","events_url":"https://api.github.com/users/naoisegolden/events{/privacy}","received_events_url":"https://api.github.com/users/naoisegolden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-09-30T16:36:39Z","updated_at":"2016-01-05T14:20:12Z","closed_at":"2016-01-05T14:20:12Z","body":"There seems to be no documentation on how to create a new row with a `Relation` using `ParseReact.Mutation.Create`. I resorted to this:\r\n\r\n```js\r\nfunction createRow(relatedObject, data) {\r\n  ParseReact.Mutation.Create('objectClass', data)\r\n    .dispatch()\r\n    .then(function(newRow) {\r\n      ParseReact.Mutation.AddRelation(newRow, 'relationColumn', relatedObject)\r\n    });\r\n}\r\n```\r\n\r\nWhich is creating the new `objectClass` object/row, but the column `relationColumn` doesn't display the relation with the given `relatedObject`.\r\n\r\nHow is this done, preferably in one query with the `ParseReact.Mutation.Create`?"}}