Giter VIP home page Giter VIP logo

Comments (9)

tanelj avatar tanelj commented on July 18, 2024 2

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.

richardadrian avatar richardadrian commented on July 18, 2024 1

In my case i had the max depth set too small, it prevented the schema from loading.

from graphiql-rails.

AndyKriger avatar AndyKriger commented on July 18, 2024

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.

volkanunsal avatar volkanunsal commented on July 18, 2024

@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.

AndyKriger avatar AndyKriger commented on July 18, 2024

Hmm - that doesn't seem to be my problem. The schema works and I can query it.

from graphiql-rails.

rmosolgo avatar rmosolgo commented on July 18, 2024

@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.

AndyKriger avatar AndyKriger commented on July 18, 2024

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.

Winbobob avatar Winbobob commented on July 18, 2024

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.

ViktorBurchenia avatar ViktorBurchenia commented on July 18, 2024

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.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.