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, #get_field, #get_type, #initialize, #interfaces, #possible_types, #root_type_for_operation, #types

Constructor Details

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

Instance Method Details

#visible?(t) ⇒ Boolean

Returns:

  • (Boolean)


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

def visible?(t); true; end

#visible_field?(t) ⇒ Boolean

Returns:

  • (Boolean)


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

def visible_field?(t); true; end

#visible_type?(t) ⇒ Boolean

Returns:

  • (Boolean)


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

def visible_type?(t); true; end