graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

A Ruby library for declaring, composing and executing GraphQL queries

Results 84 graphql-client issues
Sort by recently updated
recently updated
newest added

Following the directions in https://github.com/github/graphql-client/blob/master/guides/rails-configuration.md I added `require "graphql/client/railtie"` to my `application.rb`. Then on rails startup: ``` /usr/local/bundle/gems/graphql-client-0.13.0/lib/graphql/client.rb:93:in `initialize': missing keyword: schema (ArgumentError) from /usr/local/bundle/gems/graphql-client-0.13.0/lib/graphql/client/railtie.rb:17:in `new' from /usr/local/bundle/gems/graphql-client-0.13.0/lib/graphql/client/railtie.rb:17:in `' from...

I have a successful query I execute as: result = Fizz::Client.query(ShopNameQuery) I dump out result.data.shop.name and I get "fooblewoobles" which is correct. When I reach out to the extensions, which...

I was wondering if anyone had any suggestions for mocking responses, and validating that the mock data matches the schema? I'm modifying some code that calls a deprecated query to...

Loading schema on client side seems to be not so useful. Also how often do we need to update schema? Thank you

updated year 2016 -> 2018 in LICENSE

Hey there folks, we were looking to [try migrate](https://github.com/artsy/README/issues/31) a bunch of our GraphQL APIs to always ship a `.graphql` schema per-api. I ended up hitting a minor roadblock when...

Mistache correction when generated object id with negative value in OS 32 bits. Problem detected in gem graphlient

It appears that, when configuring the client, I always need to pass in a header function for `GraphQL::Client::HTTP.new`, even if it ends up being something like this: ``` def headers(_context)...

So, I made an error with my configuration of the gem and ended up with this: ``` HTTP = GraphQL::Client::HTTP.new("#{ENV.fetch('EXELON_HOST')}/graphql") do def headers(context) end end ``` But, when running a...

Is there any idea for adding middleware to the client? I think it would be interesting, for example, to support query caching, retries, logging, etc.