lib/graphql/schema/build_from_definition.rb in graphql-1.9.14 vs lib/graphql/schema/build_from_definition.rb in graphql-1.9.15

- old
+ new

@@ -109,10 +109,10 @@ schema end NullResolveType = ->(type, obj, ctx) { - raise(NotImplementedError, "Generated Schema cannot use Interface or Union types for execution. Implement resolve_type on your resolver.") + raise(GraphQL::RequiredImplementationMissingError, "Generated Schema cannot use Interface or Union types for execution. Implement resolve_type on your resolver.") } NullScalarCoerce = ->(val, _ctx) { val } def build_enum_type(enum_type_definition, type_resolver)