Skip to content

Improve vulnerability project GraphQL queries and error message

Daniel Tian requested to merge 284471-rename-queries-and-error-message into master

What does this MR do?

On the group-level and instance-level vulnerability report:

Group level Instance level
vulnerability_report_group vulnerability_report_instance

The projects for the group/instance are fetched through GraphQL. This MR does the following:

  1. Change a GraphQL error message from a function that returns a constant string, to just the constant string.

  2. Rename the GraphQL queries to make it more obvious what they are for.

  3. Pare down the properties that we're requesting through GraphQL to only those that are needed.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Daniel Tian

Merge request reports