Skip to content

Reduce `GitlabSettings::Options` interface

What does this MR do and why?

The initial work of replacing the SettingsLogic gem by an in-house code had the pitfall of delegating any Hash method to its internals, which led to confusion and bugs. To avoid that, we're reducing the GitlabSettings::Option interface to reduce the number of mutations and provide a more concise experience to contributors.

Related to:

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

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.

Edited by Kassio Borges

Merge request reports

Loading