Skip to content

Build examples for containers by referencing unit tests #68

Description

@rob-metalinkage

#66 has the inverse logic - where building blocks are being used to decompose complex objects where examples exist for the complete schema.

But when constructing a complex schema you may want to unit test or profile components then collate them.

Could we support a $ref or similar in JSON files and have an inbuilt transformer whose job is to dereference these and construct the validatable container from referenced parts?

The only downside here would be potentially needing chainable transformers - or pre- and post- transformers.

We probably want "transform to" capability anyway - so is this just a form of that?

Activity

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

Metadata

Metadata

Assignees

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