Skip to content

Expose a setter for Deserializer::remaining_depth? #1262

Open
@tisonkun

Description

@tisonkun

Related -

I can see that we control the recursion limit by an internal field remaining_depth. Now it's constantly 128. Instead of asking users to set disable_recursion_limit, I wonder if it's possible to expose a setter for Deserializer::remaining_depth so that users can retain the limitation but with a different value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions