Simarjeet112 opened a new pull request, #37545: URL: https://github.com/apache/beam/pull/37545
### What changed This PR enforces fail-fast validation for PipelineOptions getters annotated with @Validation.Required. ### Details - Throw IllegalStateException when a required option is accessed without being set - Add helper method to detect @Validation.Required annotation - Add test covering required option validation - Update existing tests affected by stricter validation ### Testing - ./gradlew :sdks:java:core:test --tests "*PipelineOptionsTest" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
