• Luke Duncalfe's avatar
    Use GraphQL errors_on_object for collecting errors · 323f5146
    Luke Duncalfe authored
    Around 50% of our mutations were calling `object.errors.full_messages`
    within their `#resolve` method, while others were using the
    `#errors_on_object` helper in `BaseMutation`.
    
    This MR changes all mutations to use `#errors_on_object`, and tweaks
    the GraphQL API developer docs to mention the helper.
    323f5146
set_assignees.rb 1.68 KB