Draft: refactor: config to use type struct

Description

This is a Proposal on how to make the config file usabel outside of the gitlab cli. Its related to #7910 (closed) and #2209.

Currently I only refactored the config itself to show how it can work. The existing unit tests where moved and improved with additional cases.

Please dont see this as a finished product ist a Idea thats needs more work If we want to go in to this direction.

Markus Sattler markus.sattler@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH

Provider Information

Related Issues

#7910 (comment 2598406735) #7910 (comment 2602929304)

How has this been tested?

Unit Tests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Markus

Merge request reports

Loading