Jens-G opened a new pull request, #3551: URL: https://github.com/apache/thrift/pull/3551
## Summary - Adds `incrementRecursionDepth()` / `decrementRecursionDepth()` to `Thrift.Protocol` in `lib/js/src/thrift.js` - Same methods added to Node.js binary, compact and JSON protocol implementations in `lib/nodejs/lib/thrift/` - Limit is `Thrift.DEFAULT_RECURSION_DEPTH` (64); throws `TProtocolException(DEPTH_LIMIT)` when exceeded - JS generator emits calls around every generated `read` / `write` struct method ## Test plan - [ ] `lib/js/test/test-skip-depth.js` — QUnit tests for allow/reject/restore - [ ] `lib/nodejs/test/recursion_depth.test.js` — Node.js tests via `npm 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]
