Closed aswanson-nr closed 2 years ago
After further investigation, this appears to have something to do with the NerdGraphQuery
module from the nr1
package.
When querying for something like
{
actor {
user {
name
}
}
}
The correct values are returned, but they include an extra id
field for the user, which breaks the response parsing of this application.
I resolved this issue by first checking if there was a contextNode
object, and then checking if it had contextNode.context
, this has resolved the issue
Description
Some queries throw a JS error and never return results. While I use the example notebook for the example below, I also observed this behavior with a new notebook.
First example fails:
With a JS error
Second example works fine:
Steps to Reproduce
Expected Behaviour
The Graphql results are displayed.
Relevant Logs / Console output
Your Environment