SouthwestAsiaFloat opened a new pull request, #6960: URL: https://github.com/apache/shenyu/pull/6960
Fixes #6878 - Return `null` when the request or response body is not a JSON object. - Validate every node in a nested field path before accessing it. - Prevent `NullPointerException`, `ClassCastException`, and `IllegalStateException` when a configured field is missing or has an unexpected JSON type. - Add unit tests covering non-object bodies and invalid nested paths. - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or integration tests) that back your changes. - [x] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`. -- 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]
