Skip to content

Using insta for schema generation and updates #475

@konstin

Description

@konstin

In our projects, we're generating json schema output for our configuration. We want to check that this json is up-to-date when running tests, with an additional option to update it when it isn't - basically what assert_json_snapshot does with nicer UX. The only difference is that we need the output file to be put somewhere else, we call it {project}.schema.js and it lives in the project root with no header. Is supporting this kind of output in scope for insta?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions