To reduce server-side requests to GitLab, we added the drupalorg_gitlab_users table and UserService::getGitLabUserId() method. This should be able to fully replace GitLabClientTrait::getGitLabUserIdFromUserId()
To reduce server-side requests to GitLab, we added the drupalorg_gitlab_users table and UserService::getGitLabUserId() method. This should be able to fully replace GitLabClientTrait::getGitLabUserIdFromUserId()
Comments
Comment #2
drummComment #3
fjgarlin commentedGood find. The "getGitLabUserIdFromUserId" predated that new migration and function.
Comment #4
fjgarlin commentedI had a few changes in progress and I added this as part of those. See the commit https://git.drupalcode.org/project/drupalorg/-/commit/a2dfaae63f1933b6cb.... The trait function is gone and all usages were changed to the user service function.