Skip to content

Upgrade graphql-client GEM

Rodrigo Tomonari requested to merge rodrigo/upgrade-graphql-client-gem into master

What does this MR do and why?

Upgrades graphql-client GEM from v0.19.0 to v0.23.0

The GEM is a dependency of graphlient, which is a GEM used by Direct Transfer to make GraphlQL requests.

The upgrade is required to fix the following error which started to occur after graphql GEM upgrade to 2.3.5:

https://github.com/github-community-projects/graphql-client/issues/27

Caused by NoMethodError: undefined method 'map' for nil
from...gems/graphql-client-0.19.0/lib/graphql/client/schema/interface_type.rb:24:in `define_class'

Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/469117

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Perform a Direct Transfer migration
  2. Go to Group+
  3. Select Import Group
  4. Provide the required information and migrate a project
  5. Check if the migration details and make sure no error occured
Edited by Rodrigo Tomonari

Merge request reports