Skip to content

Suppress all non-nullable field errors for assignee widget graphql queries

What does this MR do?

This improves the error suppression introduced in !60890 (merged).

Specifically, this MR concerns this part:

Implements a temporary frontend measure for #329750 (closed) until a proper backend fix arrives

  • Removes nulls and suppresses the error message Cannot return null for non-nullable field GroupMember.user

Why?

In www-gitlab-com project, the non-nullable error is returned more than once:

image

Visit https://gitlab.com/gitlab-com/www-gitlab-com/-/boards/836119 and click on any card then check the graphql responses.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by euko

Merge request reports