Sha256: fb5fec707bb4b5feeb1390cf51d518fc32f7f4e6e9f3ed8dd7f0e4efff223164

Contents?: true

Size: 474 Bytes

Versions: 11

Compression:

Stored size: 474 Bytes

Contents

GraphQL::Introspection::InputValueType = GraphQL::ObjectType.define do
  name "__InputValue"
  description "An input for a field or InputObject"
  field :name, !types.String, "The key for this value"
  field :description, types.String, "What this value is used for"
  field :type, -> { GraphQL::Introspection::TypeType }, "The expected type for this value"
  field :defaultValue, types.String, "The value applied if no other value is provided", property: :default_value
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
graphql-0.9.4 lib/graphql/introspection/input_value_type.rb
graphql-0.9.3 lib/graphql/introspection/input_value_type.rb
graphql-0.9.2 lib/graphql/introspection/input_value_type.rb
graphql-0.8.1 lib/graphql/introspection/input_value_type.rb
graphql-0.8.0 lib/graphql/introspection/input_value_type.rb
graphql-0.7.1 lib/graphql/introspection/input_value_type.rb
graphql-0.7.0 lib/graphql/introspection/input_value_type.rb
graphql-0.6.2 lib/graphql/introspection/input_value_type.rb
graphql-0.6.1 lib/graphql/introspection/input_value_type.rb
graphql-0.6.0 lib/graphql/introspection/input_value_type.rb
graphql-0.5.0 lib/graph_ql/introspection/input_value_type.rb