lib/graphql/schema/printer.rb in graphql-2.3.20 vs lib/graphql/schema/printer.rb in graphql-2.4.0
- old
+ new
@@ -56,9 +56,10 @@
def self.visible?(ctx)
false
end
end
schema = Class.new(GraphQL::Schema) {
+ use GraphQL::Schema::Visibility
query(query_root)
def self.visible?(member, _ctx)
member.graphql_name != "Root"
end
}