Sha256: b482e813011d3937313f1b79eb7821568f99f5f8b2311f53fcc5565484ab63e0

Contents?: true

Size: 307 Bytes

Versions: 39

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true
GraphQL::Introspection::InputFieldsField = GraphQL::Field.define do
  name "inputFields"
  type types[!GraphQL::Introspection::InputValueType]
  resolve ->(target, a, ctx) {
    if target.kind.input_object?
      ctx.warden.arguments(target)
    else
      nil
    end
  }
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
graphql-1.8.0.pre2 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.7 lib/graphql/introspection/input_fields_field.rb
graphql-1.8.0.pre1 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.6 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.5 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.4 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.3 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.2 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.1 lib/graphql/introspection/input_fields_field.rb
graphql-1.7.0 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.8 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.7 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.6 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.5 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.4 lib/graphql/introspection/input_fields_field.rb
graphql-1.5.15 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.3 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.2 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.1 lib/graphql/introspection/input_fields_field.rb
graphql-1.6.0 lib/graphql/introspection/input_fields_field.rb