Skip to content

Should ConfigValidator be in confmap? #11524

@bogdandrutu

Description

@bogdandrutu

Is your feature request related to a problem? Please describe.

Currently the ConfigValidator is part of the component package, and for example in mdatagen where we use confmap it is a bit strange to depend on the component.ConfigValidator for config validation.

Describe the solution you'd like

Provide the configuration Validator as part of the confmap repository, and probably make it part of Conf.Unmarshal (configurable) to also do validation.

Describe alternatives you've considered

Leave where it is right now.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions