Skip to content

Instantly share code, notes, and snippets.

@Zmetser
Created February 28, 2024 08:12
Show Gist options
  • Save Zmetser/1b20e21a30cf69b0dab5dd34a6de3890 to your computer and use it in GitHub Desktop.
Save Zmetser/1b20e21a30cf69b0dab5dd34a6de3890 to your computer and use it in GitHub Desktop.
AppThreadPage thread query error
query AppThreadPage {
appThreadPage(uuid: "5a266409-d835-4e27-956a-569e63f553b6") {
users { name }
related_to_block { uuid }
threads {
single_block_exchange { uuid }
thread { uuid }
}
}
}
{
"errors": [
{
"message": "Can't resolve value (/appThreadPage/threads[0]/thread) : type mismatch error, expected type LIST",
"path": [
"appThreadPage",
"threads",
0,
"thread"
],
"extensions": {
"classification": "DataFetchingException"
}
}
],
"data": {
"appThreadPage": {
"users": [
{
"name": "Mr. Kovacs"
},
{
"name": "Fotios Siskellis"
}
],
"related_to_block": null,
"threads": [
{
"single_block_exchange": [],
"thread": null
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment