Skip to content

Commit e320a88

Browse files
authored
Merge pull request #366 from rmosolgo/compatibility
GraphQL::Compatibility
2 parents 0342949 + 33370e7 commit e320a88

File tree

14 files changed

+974
-831
lines changed

14 files changed

+974
-831
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ task(default: [:test, :rubocop])
2020

2121
desc "Use Racc & Ragel to regenerate parser.rb & lexer.rb from configuration files"
2222
task :build_parser do
23-
`rm lib/graphql/language/parser.rb lib/graphql/language/lexer.rb `
23+
`rm -f lib/graphql/language/parser.rb lib/graphql/language/lexer.rb `
2424
`racc lib/graphql/language/parser.y -o lib/graphql/language/parser.rb`
2525
`ragel -R lib/graphql/language/lexer.rl`
2626
end

lib/graphql.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ def self.scan_with_ragel(query_string)
8282
require "graphql/version"
8383
require "graphql/relay"
8484
require "graphql/execution"
85+
require "graphql/compatibility"

lib/graphql/compatibility.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require "graphql/compatibility/execution_specification"
2+
require "graphql/compatibility/query_parser_specification"
3+
require "graphql/compatibility/schema_parser_specification"

0 commit comments

Comments
 (0)