Skip to content

Conversation

@jamietanna
Copy link
Member

  • chore: make it possible to provide detailed config validation errors
  • refactor: move Configuration methods closer to struct

Jamie Tanna added 2 commits July 12, 2024 14:40
As part of future changes, we want to introduce the ability to give us
more control over validating the configuration provided by users.

This follows the usage of a `map[string]string` via [0], which can then
allow us to provide much more useful sets of error messages.

[0]: https://grafana.com/blog/2024/02/09/how-i-write-http-services-in-go-after-13-years/
@jamietanna jamietanna requested a review from a team as a code owner July 12, 2024 13:46
@jamietanna jamietanna added the chore Any maintenance tasks that are regular, not as important to call out in the changelog label Jul 12, 2024
@jamietanna jamietanna merged commit f6622e7 into main Jul 12, 2024
@jamietanna jamietanna deleted the chore/validation branch July 12, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Any maintenance tasks that are regular, not as important to call out in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants