Syntax Error: Unexpected } in the middleware.js when pressing the SCHEMA tab in the GrapgQL IDE #5252
-
We are using version 10.5.2. Yes, I understand it's an old one and is not actively maintained. However, if you can give me a hint at least where to dig, I would really appreciate it. For one of our schemas, as soon as I click the SCHEMA tab, the entire IDE page goes blank and there are the following errors in the JS console:
and
It must be something related to schema itself since it happens for only one of those, but I can't understand what exactly. The DOCS tab opens just fine. I can also run queries - all working great. It's only the SCHEMA tab that spoils the party. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@yansklyarenko does the same happen when you use the standalone app or https://eat.bananacakepop.com ? |
Beta Was this translation helpful? Give feedback.
-
It turned out that IDE tab didn't like the fact that some Sorry for the false alarm - it's definitely not the problem of the IDE, as far as I see it. |
Beta Was this translation helpful? Give feedback.
It turned out that IDE tab didn't like the fact that some
description
properties of the graph types emitted were empty. I didn't dig deep enough to understand the root cause, to be honest. I've just made sure alldescription
properties are filled in - that's acceptable for me at this point.Sorry for the false alarm - it's definitely not the problem of the IDE, as far as I see it.