Skip to content

Build examples for containers by referencing unit tests #68

@rob-metalinkage

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions