Hey, I have the following graphql query:
query {
Posts(where: {slug: {equals: "${slug}"}}, limit: 1) {
docs {
keyword
slug
question
question_context
answer
description
categories
ready
concepts {
slug
question
explanation
}
related { <=== This is a Post (relation)
question
ready <===== moving this on top creates a error, see below output
slug
}
short_answer
updatedAt
}
}
}
I was debugging the issue concerning graphql request and realised that moving field ready from top to second row resolves the issue. What is strange is that it is happening only in the product build , not in dev 3.0.0-beta.70. Why is that happening?
Error:
https://pastebin.com/XRtjKrHq
"errors": [
{
"extensions": {
"name": "Error",
"statusCode": 500
},
"locations": [
{
"line": 18,
"column": 21
}
],
"message": "Something went wrong.",
"path": [
"Posts",
"docs",
0,
"related",
1
]
}
],
"status": 200,
"headers": {}
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.