It works for me:
mutation new_order_with_quotes($cid : Int, $ono : Int = 0)
{
useCompany(no: $cid)
{
order_create(values :[{
orderDate : null
}])
{
affectedRows
items
{
orderNo @export(as : "ono")
}
}
orderLine_create(values : [
{
orderNo : $ono
productNo : "101"
description : "sample with \"quotes\""
}
])
{
affectedRows
items
{
orderNo
lineNo
description
}
}
}
}
The response:
{
"data": {
"useCompany": {
"order_create": {
"affectedRows": 1,
"items": [
{
"orderNo": 1058
}
]
},
"orderLine_create": {
"affectedRows": 1,
"items": [
{
"orderNo": 1058,
"lineNo": 1,
"description": "sample with \"quotes\""
}
]
}
}
},
"extensions": {
"vbnxt-trace-id": "000000000000000032440f34c79a852b"
}
}
Result in front-end:
... View more