Jens-G opened a new pull request, #3556: URL: https://github.com/apache/thrift/pull/3556
## Summary - Adds `recursion_depth_` field and `increment_recursion_depth` / `decrement_recursion_depth` methods to `Protocol.t` in `Thrift.ml` - Also fixes a pre-existing forward-reference bug: moves `exn_type` and exception `E` before `class virtual t` - OCaml generator wraps struct read/write with `Fun.protect` to guarantee decrement even on exception - Limit is 64; raises `Protocol.E(DEPTH_LIMIT, …)` on excess ## Test plan - [ ] OCaml tests build and pass via `dune test` 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Sonnet 4.6 <[email protected]> -- 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]
