stackshareio/graphql-cache

Not compatible with GraphQL-Ruby 1.9

bgetting opened this issue · 4 comments

Resolving dependencies.....
Bundler could not find compatible versions for gem "graphql":
  In snapshot (Gemfile.lock):
    graphql (= 1.9.2)

  In Gemfile:
    graphql

    graphql-cache was resolved to 0.2.1, which depends on
      graphql (~> 1.8.0.pre10)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

@bgetting thanks for pointing this out. I'll review the gemspec and get everything updated for the newer versions of graphql-ruby.

@bgetting I'll be cutting a new gem version soon that includes this update, but for now you can use this to get support for graphql-ruby 1.9:

gem 'graphql-cache', git: 'https://github.com/rmosolgo/graphql-ruby.git', branch: 'master'

Thanks, @thebadmonkeydev! I really appreciate this. Although I believe you meant:

gem 'graphql-cache', git: 'https://github.com/stackshareio/graphql-cache.git', branch: 'master'

@bgetting you're right 🤦‍♂️ bad copy/pasta on my part. Glad you got everything going!