Commit 55626283 authored by Alex Kalderimis's avatar Alex Kalderimis

Use a more specific field name

parent 9f1550bd
......@@ -33,7 +33,7 @@ module GraphqlHelpers
# All resolution goes through fields, so we need to create one here that
# uses our resolver. Thankfully, apart from the field name, resolvers
# contain all the configuration needed to define one.
field_options = resolver_class.field_options.merge(name: 'value')
field_options = resolver_class.field_options.merge(name: 'field_value')
field = ::Types::BaseField.new(**field_options)
if resolver_class <= ::Mutations::BaseMutation && !args.key?(:input)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment