Hi Jonathon,
thanks! I have tried the way below and it seems to work although I get an error as return.
mutation {
commentCreate(
input: {
streamId: "98fa53b0a6",
resources: [{resourceId: "2bbd7caeaf"
resourceType: commit
}],
text: "just another comment"
data: {location:{x: 0.0, y: 0.0, z: 0.0}},
screenshot: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAaSURBVDhPY3gro0ISGtVADBrVQAwadBpkVADPEy0Q0V9lSAAAAABJRU5ErkJggg=="
}
)
}
return output
{
"errors": [
{
"message": "Cannot convert object to primitive value",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"commentCreate"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR"
}
}
],
"data": null
}
Also, after inserting this comment, the web interface seems broken. I can not do any more comments with the web interface. Probably a bug @AlanRynne tested with Chrome and Firefox