Skip to content

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

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_1021187543
Open

copybara-service[bot] wants to merge 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 2 times, most recently from d2880ae to b5822d0 Compare November 13, 2026 22:47
`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: 1021187543
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