Method: GraphQL::Schema::Warden#visible_enum_value?
- Defined in:
- lib/graphql/schema/warden.rb
#visible_enum_value?(enum_value, _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.
344 345 346 347 |
# File 'lib/graphql/schema/warden.rb', line 344 def visible_enum_value?(enum_value, _ctx = nil) @visible_enum_values ||= read_through { |ev| visible?(ev) } @visible_enum_values[enum_value] end |