Sha256: 1ff27098c42a32f897665908f70c9573dc27ada492f86e590f65433fa1609393

Contents?: true

Size: 280 Bytes

Versions: 8

Compression:

Stored size: 280 Bytes

Contents

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.input_fields(target)
    else
      nil
    end
  }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
graphql-1.2.6 lib/graphql/introspection/input_fields_field.rb
graphql-1.2.5 lib/graphql/introspection/input_fields_field.rb
graphql-1.2.4 lib/graphql/introspection/input_fields_field.rb
graphql-1.2.3 lib/graphql/introspection/input_fields_field.rb
graphql-1.2.2 lib/graphql/introspection/input_fields_field.rb
graphql-1.2.1 lib/graphql/introspection/input_fields_field.rb
graphql-1.2.0 lib/graphql/introspection/input_fields_field.rb
graphql-1.1.0 lib/graphql/introspection/input_fields_field.rb