Module: GraphQL::Define::NonNullWithBang

Included in:
BaseType
Defined in:
lib/graphql/define/non_null_with_bang.rb

Overview

Wrap the object in NonNullType in response to !

Examples:

required Int type

!GraphQL::INT_TYPE

Instance Method Summary collapse

Instance Method Details

#!GraphQL::NonNullType

Make the type non-null

Returns:



11
12
13
# File 'lib/graphql/define/non_null_with_bang.rb', line 11

def !
  to_non_null_type
end