module GraphQL::Schema::Member::TypeSystemHelpers
def kind
-
(GraphQL::TypeKinds::TypeKind)
-
def kind raise GraphQL::RequiredImplementationMissingError, "No `.kind` defined for #{self}" end
def list?
-
(Boolean)
- true if this is a list type. A non-nullable list is considered a list.
def list? false end
def non_null?
-
(Boolean)
- true if this is a non-nullable type. A nullable list of non-nullables is considered nullable.
def non_null? false end
def to_list_type
-
(Schema::List)
- Make a list-type representation of this type
def to_list_type @to_list_type ||= GraphQL::Schema::List.new(self) end
def to_non_null_type
-
(Schema::NonNull)
- Make a non-null-type representation of this type
def to_non_null_type @to_non_null_type ||= GraphQL::Schema::NonNull.new(self) end
def to_type_signature
def to_type_signature graphql_name end