Sha256: cdbdac5e2783aa776f24ee0f5887241e48ddc4da0c2a2f9ff2549b5dda719b39

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

GraphQL::Introspection::InputFieldsField = GraphQL::Field.define do
  name "inputFields"
  type types[!GraphQL::Introspection::InputValueType]
  resolve -> (target, a, c) {
    if target.kind.input_object?
      target.input_fields.values
    else
      nil
    end
  }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
graphql-0.19.3 lib/graphql/introspection/input_fields_field.rb
graphql-0.19.2 lib/graphql/introspection/input_fields_field.rb
graphql-0.19.1 lib/graphql/introspection/input_fields_field.rb
graphql-0.19.0 lib/graphql/introspection/input_fields_field.rb