alex_ye
03/26/2017, 11:00 AMnilan
03/26/2017, 1:46 PMalex_ye
03/26/2017, 1:55 PMalex_ye
03/26/2017, 1:56 PMnilan
03/26/2017, 1:57 PMnilan
03/26/2017, 1:58 PMupdate input argument needs an id and at least another argument. if no node is found with that id, the create input argument is run for the create mutation. For create, all required fields need to be specified.alex_ye
03/26/2017, 2:05 PMalex_ye
03/26/2017, 2:06 PMnilan
03/26/2017, 2:06 PMnilan
03/26/2017, 2:06 PMcontent is the only required field, then yes 🙂alex_ye
03/26/2017, 2:06 PMnilan
03/26/2017, 2:07 PMupdateOrCreateAnswer(update: {id: "123", content: "asd"},
create: {content: "asd"}) {
id
}alex_ye
03/26/2017, 2:08 PMnilan
03/26/2017, 2:08 PM