Method: GraphQL::Schema::Warden#visible_argument?

Defined in:
lib/graphql/schema/warden.rb

#visible_argument?(arg_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.

Returns:

  • (Boolean)


385
386
387
# File 'lib/graphql/schema/warden.rb', line 385

def visible_argument?(arg_defn, _ctx = nil)
  visible?(arg_defn) && visible_and_reachable_type?(arg_defn.type.unwrap)
end