Method: GraphQL::Schema::Warden#visible_type?
- Defined in:
- lib/graphql/schema/warden.rb
#visible_type?(type_defn, _ctx = nil) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
389 390 391 392 |
# File 'lib/graphql/schema/warden.rb', line 389 def visible_type?(type_defn, _ctx = nil) @type_visibility ||= read_through { |type_defn| visible?(type_defn) } @type_visibility[type_defn] end |