Skip to content

Report unhandled fields from the env YAML parser and add a strict mode. - #2455

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1021187543
Nov 16, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_1021187543

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Report unhandled fields from the env YAML parser and add a strict mode.

EnvConfigFromYamlOptions::warnings receives a message for each field the parser does not handle, including the unimplemented imports, limits, validators and features. EnvConfigFromYamlOptions::strict returns those messages as an error.

@copybara-service copybara-service Bot changed the title Report unsupported fields from the env YAML parser and add a strict mode. Report unhandled fields from the env YAML parser and add a strict mode. Nov 13, 2026
@copybara-service
copybara-service Bot force-pushed the test_1021187543 branch 4 times, most recently from 568942e to e6bd29d Compare November 16, 2026 19:11
`EnvConfigFromYamlOptions::warnings` receives a message for each field the parser does not handle, including the unimplemented `imports`, `limits`, `validators` and `features`. `EnvConfigFromYamlOptions::strict` returns those messages as an error.

PiperOrigin-RevId: 1022970524
@copybara-service
copybara-service Bot merged commit 44cb7b7 into master Nov 16, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_1021187543 branch November 16, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant