rgstephens / node-red-contrib-graphql

A NodeRed node to execute GraphQL Queries
13 stars 23 forks source link

"TypeError: Converting circular structure to JSON" using example #1

Closed j2l closed 6 years ago

j2l commented 6 years ago

Looks great! But on Node-Red 0.18.7, I get image

I tried to query the website https://developer.deutschebahn.com/free1bahnql/graphql directly and it worked. I know that the server replies.

I also tried with another graphql query and get the same result: image

rgstephens commented 6 years ago

@j2l Thanks for reporting this. I'm on v0.16.2. I'll upgrade and try to duplicate.

rgstephens commented 6 years ago

I upgraded Node Red to 0.18.7 but still couldn't duplicate the problem. However, I just pushed an update (0.2.3) which should address any issues with the circular JSON error. Please upgrade and let me know if you still encounter the problem.

rgstephens commented 6 years ago

Closing this item. Can re-open if the problem is encountered again under v0.2.3.