Class: GraphQL::Schema::Member

Inherits:
Object
  • Object
show all
Extended by:
BaseDSLMethods, BaseDSLMethods::ConfigurationExtension, HasAstNode, HasDirectives, HasPath, RelayShortcuts, Scoped, TypeSystemHelpers
Includes:
GraphQLTypeNames
Defined in:
lib/graphql/schema/member.rb,
lib/graphql/schema/member/scoped.rb,
lib/graphql/schema/member/has_path.rb,
lib/graphql/schema/member/build_type.rb,
lib/graphql/schema/member/has_fields.rb,
lib/graphql/schema/member/has_ast_node.rb,
lib/graphql/schema/member/has_arguments.rb,
lib/graphql/schema/member/has_dataloader.rb,
lib/graphql/schema/member/has_directives.rb,
lib/graphql/schema/member/has_interfaces.rb,
lib/graphql/schema/member/has_validators.rb,
lib/graphql/schema/member/relay_shortcuts.rb,
lib/graphql/schema/member/validates_input.rb,
lib/graphql/schema/member/base_dsl_methods.rb,
lib/graphql/schema/member/has_authorization.rb,
lib/graphql/schema/member/graphql_type_names.rb,
lib/graphql/schema/member/type_system_helpers.rb,
lib/graphql/schema/member/has_deprecation_reason.rb,
lib/graphql/schema/member/has_unresolved_type_error.rb

Overview

The base class for things that make up the schema, eg objects, enums, scalars.

Direct Known Subclasses

Directive, Enum, EnumValue, InputObject, Object, Scalar, Union

Defined Under Namespace

Modules: BaseDSLMethods, BuildType, GraphQLTypeNames, HasArguments, HasAstNode, HasAuthorization, HasDataloader, HasDeprecationReason, HasDirectives, HasFields, HasInterfaces, HasPath, HasUnresolvedTypeError, HasValidators, RelayShortcuts, Scoped, TypeSystemHelpers, ValidatesInput

Constant Summary

Constants included from GraphQLTypeNames

GraphQLTypeNames::Boolean, GraphQLTypeNames::ID, GraphQLTypeNames::Int

Instance Attribute Summary

Attributes included from BaseDSLMethods

#default_graphql_name, #graphql_name

Attributes included from RelayShortcuts

#connection_type, #connection_type_class, #edge_type, #edge_type_class

Attributes included from HasAstNode

#ast_node

Class Method Summary collapse

Methods included from BaseDSLMethods

authorized?, comment, default_relay?, description, introspection, introspection?, mutation, visible?

Methods included from FindInheritedValue

extended, included

Methods included from BaseDSLMethods::ConfigurationExtension

inherited

Methods included from TypeSystemHelpers

initialize, kind, list?, non_null?, to_list_type, to_non_null_type, to_type_signature

Methods included from Scoped

inherited, reauthorize_scoped_objects, scope_items

Methods included from HasPath

path

Methods included from HasAstNode

extended, inherited

Methods included from HasDirectives

add_directive, directive, directives, extended, get_directives, inherited, remove_directive, remove_directive

Class Method Details

.authorizes?(_ctx) ⇒ Boolean

: (GraphQL::Query::Context _ctx) -> bool

Returns:



45
46
47
# File 'lib/graphql/schema/member.rb', line 45

def self.authorizes?(_ctx)
  false
end