Sha256: 0a32089a831a4b843405f13cee214befb15a0b54e0de79cb0d1d8af278c474c0

Contents?: true

Size: 260 Bytes

Versions: 3

Compression:

Stored size: 260 Bytes

Contents

GraphQL::Introspection::ArgumentsField = GraphQL::Field.new do |f|
  f.description "Arguments allowed to this object"
  f.type GraphQL::ListType.new(of_type: GraphQL::Introspection::InputValueType)
  f.resolve -> (target, a, c) { target.arguments.values }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
graphql-0.4.0 lib/graph_ql/introspection/arguments_field.rb
graphql-0.3.0 lib/graph_ql/introspection/arguments_field.rb
graphql-0.2.0 lib/graph_ql/introspection/arguments_field.rb