Files
telemetry/config/configoptional/testdata/validate_no_default.yaml
Evan BradleyandGitHub 74d02dadf4 [configoptional] Validate nested types (#13611)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

The fact that `Optional` is a config type with private fields means it
needs to manually continue the `xconfmap.Validate` call chain using one
of its private values, since the reflection calls in `xconfmap.Validate`
can't manually introspect them (and arguably shouldn't).

<!-- Issue number if applicable -->
#### Link to tracking issue

Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/13579
2025-08-20 09:21:27 +00:00

4 lines
39 B
YAML

some:
nested:
string_val: value1