-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The schema diagram keep "transmitting" when using graphql-voyager as a React component #260
Comments
You are getting an error because you are not passing the JSON object. you could return the parsed JSON like this:
|
@BuiChiTrung Can you try it on 1.0.0-rc.31? |
@prakhathi-m I have tried this before, I doesn't work :(( |
@IvanGoncharov This version doesn't work, too. It doesn't ask me to install @emotion and viz.js module manually, but the same error is raised: "Unexpected token '<'" and the diagram keeps saying "Transmitting". For now, the following approach work for me:
|
@BuiChiTrung Published 1.0.1 📦 Can you please try it? |
@IvanGoncharov sorry for the late response. Version 1.0.1 works. Many thanks! |
The vanilla JS example with graphql voyager works fine but when I try to load a graphql schema (run locally) to graphql-voyager as a React component:
The result: (the diagram spot keep hanging, this seem like it is caused by the "Unexpected token >" err)
More info:
Any help, please?
The text was updated successfully, but these errors were encountered: