Module: GraphQL::Schema::Member::GraphQLTypeNames

Included in:
Interface, GraphQL::Schema::Member, Resolver
Defined in:
lib/graphql/schema/member/graphql_type_names.rb

Overview

These constants are interpreted as GraphQL types when defining fields or arguments

Examples

Example: field :is_draft, Boolean, null: false

field :id, ID, null: false
field :score, Int, null: false

Constant Summary collapse

Boolean =

:nodoc:

"Boolean"
ID =
"ID"
Int =
"Int"