Forbid raising errors in GraphQL object types and resolvers
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
We discourage raising errors in graphql resolvers (see https://gitlab.com/gitlab-org/gitlab/blob/master/doc/development/api_graphql_styleguide.md#L977-981). We should enforce this with a rubocop rule since this will cause 500
errors and fail entire queries, potentially leaking information and causing mutations to fail that would otherwise succeed.
Edited by 🤖 GitLab Bot 🤖