lib/graphql/introspection/arguments_field.rb in graphql-1.2.6 vs lib/graphql/introspection/arguments_field.rb in graphql-1.3.0
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
GraphQL::Introspection::ArgumentsField = GraphQL::Field.define do
type !GraphQL::ListType.new(of_type: !GraphQL::Introspection::InputValueType)
resolve ->(obj, args, ctx) {
ctx.warden.arguments(obj)
}