Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Commit bc7c4b6

Browse files
Fix no method 'new' for Int:Class
1 parent 85b3eb6 commit bc7c4b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/graphql/cache.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ def self.marshal_from_cache(cached, config = {})
8989
config[:query_context]
9090
)
9191
else
92-
cached.class.new(
93-
cached
94-
)
92+
cached
9593
end
9694
end
9795
end

0 commit comments

Comments
 (0)