lib/generators/graphql/templates/mutation.erb in graphql-1.6.4 vs lib/generators/graphql/templates/mutation.erb in graphql-1.6.5
- old
+ new
@@ -1,6 +1,6 @@
-Mutations::<%= name %> = GraphQL::Relay::Mutation.define do
- name "<%= name %>"
+Mutations::<%= mutation_name %> = GraphQL::Relay::Mutation.define do
+ name "<%= mutation_name %>"
# TODO: define return fields
# return_field :post, Types::PostType
# TODO: define arguments
# input_field :name, !types.String