lib/graphql/stitching/composer/validate_interfaces.rb in graphql-stitching-1.2.0 vs lib/graphql/stitching/composer/validate_interfaces.rb in graphql-stitching-1.2.1

- old
+ new

@@ -1,10 +1,9 @@ # frozen_string_literal: true -module GraphQL - module Stitching - class Composer::ValidateInterfaces < Composer::BaseValidator - +module GraphQL::Stitching + class Composer + class ValidateInterfaces < BaseValidator # For each composed interface, check the interface against each possible type # to assure that intersecting fields have compatible types, structures, and nullability. # Verifies compatibility of types that inherit interface contracts through merging. def perform(supergraph, composer) supergraph.schema.types.each do |type_name, interface_type|