Sha256: da06e45ccc92305bf878c58e939cd33975225b3ba8089b51479f9d4bde1b4890
Contents?: true
Size: 327 Bytes
Versions: 13
Compression:
Stored size: 327 Bytes
Contents
# Wrap the object in NonNullType in response to `!` # @example required Int type # !GraphQL::INT_TYPE # module GraphQL::DefinitionHelpers::NonNullWithBang # Make the type non-null # @return [GraphQL::NonNullType] a non-null type which wraps the original type def ! GraphQL::NonNullType.new(of_type: self) end end
Version data entries
13 entries across 13 versions & 1 rubygems