Hello again! ![]()
I’m having some issues understanding the addTask and updateTask mutations. I can’t seem to get anything customData related to register when using GQL. They record fine in the GUI but not when using GQL. Here are examples of the query’s sent:
updateTask:
mutation m{m0:updateTask(identifier:"ChristopherP 09-15-2026",taskType:"Payroll Tip Totals",task:{taskType:"Payroll Tip Totals",isCompleted:false,content:"ChristopherP5",userName: "ChristopherP",customData:[{name:"Bartender",value:"ChristopherP"},{name:"CC Tip Total",value:"1000.00"},{name:"Cash Tip Total",value:"1000.00"},{name:"Tip Total",value:"2000.00"}]})}{id,name,identifier,content,isCompleted,userName,customData{name,value}}
Response:
{
"data": {
"m0": {}
},
"errors": null
}
addTask:
mutation m{m0: addTask(name: "ChristopherP 09-15-2026",taskType: "Payroll Tip Totals",content: "ChristopherP4",isCompleted: false,userName: "ChristopherP",state: "",identifier: "ChristopherP 09-15-2026",customData:[{name:"Bartender",value:"ChristopherP"},{name:"CC Tip Total",value:"1000.00"},{name:"Cash Tip Total",value:"1000.00"},{name:"Tip Total",value:"2000.00"}]){id,name,identifier,content,isCompleted,userName,customData{name,value}} }
Response:
{
"data": {
"m0": {
"id": 0,
"name": "ChristopherP 09-15-2026",
"identifier": "ChristopherP 09-15-2026",
"content": "ChristopherP4",
"isCompleted": false,
"userName": "ChristopherP",
"customData": []
}
},
"errors": null
}
Am I not formatting these correctly. They both work, it just doesn’t add the customData.
Thanks for any input!