Add limited count connection type to GraphQL
What does this MR do and why?
Related to #360672 (closed)
Returning a full count of jobs is expensive and for anything else than a demo project will timeout. In the haml implementation we return a limited count of jobs and we need to do the same for Vue.
Screenshots or screen recordings
query {
project(fullPath: "gitlab-org/gitlab") {
jobs {
count(limit: 150)
}
}
}
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marius Bobin