Sha256: cfb46a4646617708f9845aad282d5080c3c7c057050805bc2b3586e825c7e81a
Contents?: true
Size: 598 Bytes
Versions: 39
Compression:
Stored size: 598 Bytes
Contents
# frozen_string_literal: true module GraphQL class Schema # Represents a list type in the schema. # Wraps a {Schema::Member} as a list type. # @see {Schema::Member::TypeSystemHelpers#to_list_type} class List < GraphQL::Schema::Wrapper def to_graphql @of_type.graphql_definition.to_list_type end # @return [GraphQL::TypeKinds::LIST] def kind GraphQL::TypeKinds::LIST end # @return [true] def list? true end def to_type_signature "[#{@of_type.to_type_signature}]" end end end end
Version data entries
39 entries across 39 versions & 1 rubygems