lib/graphql/schema/loader.rb in graphql-1.6.4 vs lib/graphql/schema/loader.rb in graphql-1.6.5
- old
+ new
@@ -31,10 +31,10 @@
end
Schema.define(**kargs, raise_definition_error: true)
end
- NullResolveType = ->(obj, ctx) {
+ NullResolveType = ->(type, obj, ctx) {
raise(NotImplementedError, "This schema was loaded from string, so it can't resolve types for objects")
}
NullScalarCoerce = ->(val, _ctx) { val }