lib/graphql/stitching.rb in graphql-stitching-1.3.0 vs lib/graphql/stitching.rb in graphql-stitching-1.4.0
- old
+ new
@@ -6,10 +6,12 @@
module Stitching
EMPTY_OBJECT = {}.freeze
EMPTY_ARRAY = [].freeze
class StitchingError < StandardError; end
+ class CompositionError < StitchingError; end
+ class ValidationError < CompositionError; end
class << self
def stitch_directive
@stitch_directive ||= "stitch"
end
@@ -26,10 +28,9 @@
require_relative "stitching/supergraph"
require_relative "stitching/resolver"
require_relative "stitching/client"
require_relative "stitching/composer"
require_relative "stitching/executor"
-require_relative "stitching/export_selection"
require_relative "stitching/http_executable"
require_relative "stitching/plan"
require_relative "stitching/planner_step"
require_relative "stitching/planner"
require_relative "stitching/request"