Sha256: 6ea545ffa01dec7eba4cfb611f29f42e260a134b8866cacce3ac330fd0311e3c
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
module GraphQL module DefinitionHelpers # Wrap the object in NonNullType in response to `!` # @example required Int type # !GraphQL::INT_TYPE # module NonNullWithBang # Make the type non-null # @return [GraphQL::NonNullType] a non-null type which wraps the original type def ! to_non_null_type end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-0.11.1 | lib/graphql/definition_helpers/non_null_with_bang.rb |