Add merge_requests_enabled field to namespace in GraphQL
What does this MR do and why?
Add merge_requests_enabled field to namespace in GraphQL (#557074 (closed))
This is so the frontend can know if merge requests are disabled and therefore do not show the "Create merge request" button on the issue page
Changelog: added
References
Screenshots or screen recordings
How to set up and validate locally
{
namespace(fullPath: "no-merge-requests/no-merge-requests-project") {
mergeRequestsEnabled
}
}
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #557074 (closed)
Edited by Coung Ngo