Skip to content

Provide an in-memory only WarningRegistry #18

Description

@jpryde-blackberry

Currently, in order to override WarningRegistry you need to create a json file with an empty list and load that into WarningRegistry as documented in the README.

This means that any tooling that integrates this library cannot be stateless, it must either create temporary files or have a permanent place to store the registry.

Is there any appetite for providing an in-memory only variant of WarningRegistry that a consumer of this library can use to inject warnings scoped to the lifetime of the validator instance without managing temporary files?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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