We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d72681 commit 91704e9Copy full SHA for 91704e9
lib/graphql/fragment_cache/railtie.rb
@@ -26,7 +26,9 @@ def store=(store)
26
27
if ENV["RACK_ENV"] == "test" || ENV["RAILS_ENV"] == "test"
28
initializer "graphql-fragment_cache" do
29
- config.graphql_fragment_cache.store = if Rails.version.to_f >= 7.0
+ config.graphql_fragment_cache.store = if Rails.version.to_f >= 8.0
30
+ [:null_store]
31
+ elsif Rails.version.to_f >= 7.0
32
[:null_store, serializer: :marshal_7_0]
33
else
34
:null_store
0 commit comments