hashicorp / hashicorp/go-argmapper
Add ability to assert configuration is valid without executing call
- Dominant language
- Go
- Stars
- 125
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
This is possibly covered on `Redefine` and I may not understand the use case exactly, but I'm trying to figure out if there is a way to assert that the defined converters, etc, would "work", for example in unit tests.
I've used [AutoMapper](https://docs.automapper.org/en/latest/Configuration-validation.html?highlight=AssertConfigurationIsValid) before which has a method like `config.AssertConfigurationIsValid();` that asserts that all of your mappings are present and/or satisfied (the use case of AutoMapper is a bit different, since its field by field, not necessarily DI).
In my usage, its not for dynamically loaded plugins, but for an SDK consumer, so the conversions could be "walked" without execution.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.