Projects GraphQL query not respecting `first` when not signed in with SAML

Background

Related to #461083 (closed).

In we are working on moving Your work -> Projects from HAML/vanilla JS to Vue with a GraphQL data source.

How to reproduce

On staging.gitlab.com

  1. Enable the your_work_projects_vue feature flag for your username in chatops. /chatops run feature set --user=<your username> your_work_projects_vue true --dev --pre --staging --staging-ref
  2. Sign into GitLab Staging without SAML
  3. Go to https://staging.gitlab.com/dashboard/projects/member
  4. It will display less than 20 projects even though the first argument is set to 20
  5. Use the pagination, it will continue to display less than 20 projects
  6. Sign in with SAML
  7. Navigate back to https://staging.gitlab.com/dashboard/projects/member
  8. It will always display 20 projects even when using SAML
Edited by Peter Hegman