protobuf/ruby/lib/google
Lukas Fittl fbe6ab2487
[Ruby] Message.decode/encode: Add max_recursion_depth option (#9218)
* Message.decode/encode: Add max_recursion_depth option

This allows increasing the recursing depth from the default of 64, by
setting the "max_recursion_depth" to the desired integer value. This is
useful to encode or decode complex nested protobuf messages that otherwise
error out with a RuntimeError or "Error occurred during parsing".

Fixes #1493

* Address review comments

Co-authored-by: Adam Cozzette <acozzette@google.com>
2022-02-09 08:44:12 -08:00
..
protobuf [Ruby] Message.decode/encode: Add max_recursion_depth option (#9218) 2022-02-09 08:44:12 -08:00
protobuf.rb [Ruby] Message.decode/encode: Add max_recursion_depth option (#9218) 2022-02-09 08:44:12 -08:00