lib/graphql/schema/printer.rb in graphql-1.5.15 vs lib/graphql/schema/printer.rb in graphql-1.6.0

- old
+ new

@@ -47,10 +47,11 @@ def initialize(schema, context: nil, only: nil, except: nil, introspection: false) @schema = schema @context = context blacklist = build_blacklist(only, except, introspection: introspection) - @warden = GraphQL::Schema::Warden.new(blacklist, schema: @schema, context: @context) + filter = GraphQL::Filter.new(except: blacklist) + @warden = GraphQL::Schema::Warden.new(filter, schema: @schema, context: @context) end # Return the GraphQL schema string for the introspection type system def self.print_introspection_schema query_root = ObjectType.define(name: "Root")