lib/graphql/introspection.rb in graphql-2.0.14 vs lib/graphql/introspection.rb in graphql-2.0.15
- old
+ new
@@ -2,10 +2,10 @@
module GraphQL
module Introspection
def self.query(include_deprecated_args: false, include_schema_description: false, include_is_repeatable: false, include_specified_by_url: false, include_is_one_of: false)
# The introspection query to end all introspection queries, copied from
# https://github.com/graphql/graphql-js/blob/master/src/utilities/introspectionQuery.js
- <<-QUERY
+ <<-QUERY.gsub(/\n{2,}/, "\n")
query IntrospectionQuery {
__schema {
#{include_schema_description ? "description" : ""}
queryType { name }
mutationType { name }