lib/graphql/schema/printer.rb in graphql-1.12.24 vs lib/graphql/schema/printer.rb in graphql-1.13.0

- old
+ new

@@ -54,10 +54,10 @@ # Return the GraphQL schema string for the introspection type system def self.print_introspection_schema query_root = Class.new(GraphQL::Schema::Object) do graphql_name "Root" - field :throwaway_field, String, null: true + field :throwaway_field, String end schema = Class.new(GraphQL::Schema) { query(query_root) } introspection_schema_ast = GraphQL::Language::DocumentFromSchemaDefinition.new( schema,