Valid Design Management GraphQL query produces an error
The GraphQL schema allows a query like this:
{
project(fullPath: "root/test") {
issue(iid: "1") {
designCollection {
versions {
nodes {
designAtVersion {
event
}
}
}
}
}
}
}
However, the query results in an error like this:
{
"data": {
"project": {
"issue": {
"designCollection": {
"versions": {
"nodes": [
null,
null,
null
]
}
}
}
}
},
"errors": [
{
"message": "Exactly one of filename, id, design_id expected, got []",
"locations": [
{
"line": 171,
"column": 13
}
],
"path": [
"project",
"issue",
"designCollection",
"versions",
"nodes",
0,
"designAtVersion"
]
},
{
"message": "Exactly one of filename, id, design_id expected, got []",
"locations": [
{
"line": 171,
"column": 13
}
],
"path": [
"project",
"issue",
"designCollection",
"versions",
"nodes",
1,
"designAtVersion"
]
},
{
"message": "Exactly one of filename, id, design_id expected, got []",
"locations": [
{
"line": 171,
"column": 13
}
],
"path": [
"project",
"issue",
"designCollection",
"versions",
"nodes",
2,
"designAtVersion"
]
}
]
}