Method: GraphQL::BaseType#to_non_null_type
- Defined in:
- lib/graphql/base_type.rb
#to_non_null_type ⇒ GraphQL::NonNullType
Returns a non-null version of this type.
72 73 74 |
# File 'lib/graphql/base_type.rb', line 72 def to_non_null_type GraphQL::NonNullType.new(of_type: self) end |