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

[BUG] Caching no longer works if new 1.9 Interpreter is used

Open jbeker opened this issue 5 years ago • 4 comments

Describe the bug

If I enable the new 1.9 Interpreter as documented here: https://graphql-ruby.org/queries/interpreter.html no caching occurs.

gem version:

graphql (1.9.15)
graphql-cache (0.6.0)

To Reproduce

Add these lines to Schema (per docs above)

  use GraphQL::Execution::Interpreter
  use GraphQL::Analysis::AST

Expected behavior

Caching should still happen

jbeker avatar Apr 06 '20 15:04 jbeker

Peeking through the forks some of them have fixes in place

https://github.com/evanob/graphql-cache/commit/80083cc76eb9cce5287b22f8728fa801049d57ac

https://github.com/visorgg/graphql-cache/commit/e567c04a5a9b3539b072f2287c84e5dcc22008b8

Axxiss avatar Nov 17 '20 14:11 Axxiss

Any updates on this one?

RealSilo avatar Mar 03 '21 23:03 RealSilo

Is this one still under support? First of all, thanks for the library, but this issue is already 1 year old and there are some forks that already fixed these issues.

Any plans to update this lib to should we just switch to forks?

Thanks!

ykonovets avatar May 06 '21 15:05 ykonovets

+++

lucasklaassen avatar Mar 02 '22 22:03 lucasklaassen