rmosolgo / graphiql-rails

Mount the GraphiQL query editor in a Rails app
MIT License
447 stars 137 forks source link

Warning: Received `false` for a non-boolean attribute `className`. #60

Closed mcdave029 closed 8 months ago

mcdave029 commented 5 years ago

Rails: 2.5.1 Ruby: 2.5.3 screen shot 2018-11-23 at 2 23 50 pm I dont know why am receiving this kind of error because it was said fix in latest graphiql update https://github.com/graphql/graphiql/commit/7764ba59df45b8acd8b08c6ebce12f7049fa0197.

dorianco commented 5 years ago

Same error here with rails-api setup

Gemfile

    graphiql-rails (1.5.0)
    graphql (1.8.11)
    graphql-docs (1.6.0)
      commonmarker (~> 0.16)
      escape_utils (~> 1.2)
      extended-markdown-filter (~> 0.4)
      gemoji (~> 3.0)
      graphql (~> 1.6)
      html-pipeline (~> 2.8)
      sass (~> 3.4)
    graphql-errors (0.2.0)
      graphql (>= 1.6.0, < 2)
    graphql-guard (1.2.1)
      graphql (>= 1.6.0, < 2)
shelmire commented 5 years ago

Caused by an error that was recently fixed in graphiql: https://github.com/graphql/graphiql/pull/724

Looks like there hasn't been a release since it was merged though.

heatherbooker commented 5 years ago

I had this error and updated to 0.13.2 and error is gone! 🙌

rmosolgo commented 8 months ago

I think this was fixed upstream -- thanks for sharing your findings here :+1: