Sha256: eaf49b748d940f858af58cb8ea1471d1f696e31b2589f9f626353d76537c2fd5

Contents?: true

Size: 119 Bytes

Versions: 3

Compression:

Stored size: 119 Bytes

Contents

GraphQL::STRING_TYPE = GraphQL::ScalarType.new do |t|
  t.name "String"
  def t.coerce(value)
    value.to_s
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
graphql-0.4.0 lib/graph_ql/string_type.rb
graphql-0.3.0 lib/graph_ql/scalars/string_type.rb
graphql-0.2.0 lib/graph_ql/types/string_type.rb