Comments (10)
I've got my sidebar work after I have comment out line mutation Types::MutationType
(placeholder generated by graphql
gem that was referring to blank MutationType
(without any field)) line from GraphQL::Schema.define
.
from graphiql-rails.
In my case i had the max depth set too small, it prevented the schema from loading.
from graphiql-rails.
When I look at the Docs pane, I see "No Schema Available" even though I'm running queries and mutations against a working schema that does have documentation strings.
from graphiql-rails.
@AndyKriger I figured out the problem in my case. It turns out there were some validation errors in my schema. Specifically, I had used names with spaces in them for my fields. Once I fixed those issues, the sidebar started working.
from graphiql-rails.
Hmm - that doesn't seem to be my problem. The schema works and I can query it.
from graphiql-rails.
@AndyKriger Do you see any errors in your brower's JS console?
Besides that, check your browser's network console. Do you see any requests to your graphql endpoint? What responses do they get?
from graphiql-rails.
very strange - i hadn't seen errors but it just started working suddenly - i didn't change anything in particular to make that happen but it works now - i'll keep an eye out if it stops working to see what might be going on
from graphiql-rails.
Maybe you could also check the Authorization
field in your HTTP header. After I bypassed the check for the development environment, Documentation Explorer
works for me.
from graphiql-rails.
In my case i had the max depth set too small, it prevented the schema from loading.
It helps for me too. Thanks!
from graphiql-rails.
Thanks everyone for sharing what you found here. Please open a new issue if you run into this trouble again!
from graphiql-rails.
Related Issues (20)
- der
- Graphql query execute is getting freeze from model callbacks HOT 1
- Build issue when bumping graphiql-rails from 1.8.0 to 1.9.0 HOT 7
- doesn't work with propshaft HOT 2
- Using themes/custom CSS
- uninitialized constant GraphiQL (NameError) HOT 1
- Add Basic Auth option HOT 1
- AbstractController::ActionNotFound (The action 'execute' could not be found for GraphqlController): HOT 1
- AssetNotPrecompiled error with Sprockets 4.0 HOT 27
- How to use this gem with graphql subscription? HOT 1
- default context variables HOT 1
- GraphiQL::Rails::EditorsController#show raising on new Rails 6 app HOT 3
- Question about request header configuration with initializer HOT 1
- Using GraphiQL in your Rails app without this gem HOT 7
- uninitialized constant GraphqlController::GraphQLIntroSchema Did you mean? GraphQlIntroSchema HOT 1
- Is this gem dead? HOT 1
- Support for subscriptions HOT 3
- headerEditorEnabled config HOT 1
- sass not needed anymore? HOT 2
- Your application has sessions disabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphiql-rails.