Skip to content

Configure RefResolver:$maxDepth? #181

Closed
@eschwartz

Description

@eschwartz

I kept getting The maximum stack depth has been exceeded errors, and I couldn't figure out what was going on. Finally, I found a public static RefResolver$maxDepth resolver property. I tried setting it to 20 (default was 7), and the schema validated fine.

I feel a little funny overriding a public static property on a test utility. What would you think about making this a configurable property on the RefResolver instance?

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