Skip to content

Don't share scope stacks between calls to RefResolver #223

@ltucker

Description

@ltucker

Not sure if this is really a goal or not. The top level call to validate(...) seems fine since it constructs new Validator instances for every call.

The main issue I see here is that a stack (_scopes_stack) in the RefResolver instance is shared and modified by all calls to iter_errors() rather than being call specific.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementSome new desired functionalityError ReportingIssues related to clearer or more robust validation error reporting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions