Class: GraphQL::Query::NullContext::NullWarden

Inherits:
Schema::Warden show all
Defined in:
lib/graphql/query/null_context.rb

Instance Method Summary collapse

Methods inherited from Schema::Warden

#arguments, #directives, #enum_values, #fields, from_context, #get_argument, #get_field, #get_type, #initialize, #interfaces, #possible_types, #reachable_type?, #reachable_types, #root_type_for_operation, #types, visible_entry?

Constructor Details

This class inherits a constructor from GraphQL::Schema::Warden

Instance Method Details

#visible_argument?(arg, ctx) ⇒ Boolean

Returns:

  • (Boolean)


8
# File 'lib/graphql/query/null_context.rb', line 8

def visible_argument?(arg, ctx); true; end

#visible_enum_value?(ev, ctx) ⇒ Boolean

Returns:

  • (Boolean)


10
# File 'lib/graphql/query/null_context.rb', line 10

def visible_enum_value?(ev, ctx); true; end

#visible_field?(field, ctx) ⇒ Boolean

Returns:

  • (Boolean)


7
# File 'lib/graphql/query/null_context.rb', line 7

def visible_field?(field, ctx); true; end

#visible_type?(type, ctx) ⇒ Boolean

Returns:

  • (Boolean)


9
# File 'lib/graphql/query/null_context.rb', line 9

def visible_type?(type, ctx); true; end

#visible_type_membership?(tm, ctx) ⇒ Boolean

Returns:

  • (Boolean)


11
# File 'lib/graphql/query/null_context.rb', line 11

def visible_type_membership?(tm, ctx); true; end