lib/graphql/schema/mutation.rb in graphql-1.8.4 vs lib/graphql/schema/mutation.rb in graphql-1.8.5

- old
+ new

@@ -15,10 +15,10 @@ # class Mutations::CreateComment < GraphQL::Schema::Mutation # argument :body, String, required: true # argument :post_id, ID, required: true # # field :comment, Types::Comment, null: true - # field :error_messages, [String], null: false + # field :errors, [String], null: false # # def resolve(body:, post_id:) # post = Post.find(post_id) # comment = post.comments.build(body: body, author: context[:current_user]) # if comment.save