CockpitQL
CockpitQL copied to clipboard
How does the lang attribute works ?
The codebase suggess that the lang parameter is only effective when the _id parameter is defined as well. However, it seems that when we query a collection with the _id parameter, the server crash.
query AQuery {
cockpit {
collection(name: "ACollectionName", _id:"AnId")
}
}
The result is:
{
"errors": [
{
"message": "Internal server error",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"cockpit",
"collection"
]
}
],
"data": {
"cockpit": {
"collection": null
}
}
}