lib/graphql/query/validation_pipeline.rb in graphql-1.11.3 vs lib/graphql/query/validation_pipeline.rb in graphql-1.11.4
- old
+ new
@@ -88,9 +88,12 @@
)
end
end
@valid = @validation_errors.empty?
+ rescue SystemStackError => err
+ @valid = false
+ @schema.query_stack_error(@query, err)
end
# If there are max_* values, add them,
# otherwise reuse the schema's list of analyzers.
def build_analyzers(schema, max_depth, max_complexity)