Sha256: 0b707796d29279459e1096a32ad2f8a79d7e8f6bb749705be8f0fd4671701378
Contents?: true
Size: 605 Bytes
Versions: 2
Compression:
Stored size: 605 Bytes
Contents
GraphQL::Introspection::InputValueType = GraphQL::ObjectType.new do |t, type, field| t.name "InputValue" t.description "An input for a field or InputObject" t.fields({ name: field.build(type: !type.String, desc: "The key for this value"), description: field.build(type: type.String, desc: "What this value is used for"), type: field.build(type: -> { GraphQL::Introspection::TypeType }, desc: "The expected type for this value"), defaultValue: field.build(type: type.String, property: :default_value, desc: "The value applied if no other value is provided") }) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql-0.3.0 | lib/graph_ql/introspection/input_value_type.rb |
graphql-0.2.0 | lib/graph_ql/introspection/input_value_type.rb |