module GraphQL::Define::NonNullWithBang

Wrap the object in NonNullType in response to `!` @example required Int type

!GraphQL::INT_TYPE

Public Instance Methods

!() click to toggle source

Make the type non-null @return [GraphQL::NonNullType] a non-null type which wraps the original type

# File lib/graphql/define/non_null_with_bang.rb, line 10
def !
  to_non_null_type
end