Method: GraphQL::Schema::Argument#authorized?

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

#authorized?(obj, value, ctx) ⇒ Boolean

Returns:

  • (Boolean)


171
172
173
# File 'lib/graphql/schema/argument.rb', line 171

def authorized?(obj, value, ctx)
  authorized_as_type?(obj, value, ctx, as_type: type)
end