Module: GraphQL::DefinitionHelpers::NonNullWithBang
- Included in:
- EnumType, ObjectType, UnionType
- Defined in:
- lib/graphql/definition_helpers/non_null_with_bang.rb
Overview
Wrap the object in NonNullType in response to ‘!`
Instance Method Summary collapse
-
#! ⇒ GraphQL::NonNullType
Make the type non-null.
Instance Method Details
#! ⇒ GraphQL::NonNullType
Make the type non-null
8 9 10 |
# File 'lib/graphql/definition_helpers/non_null_with_bang.rb', line 8 def ! GraphQL::NonNullType.new(of_type: self) end |