Skip to content

Commit

Permalink
Add @schema/validation annotation
Browse files Browse the repository at this point in the history
Following discussions with
[gcheadle-vmware](carvel-dev/ytt#604 (comment))
and @cppforlife, it became clear that @assert/validate ought to always
be consumed in a step after overlays are applied for the current
pipeline.

When writing schema, the author intends not for the schema document
_itself_ to be validated, but to validate the _produced_ document (of
which the schema is a basis for).

Authors need a way to declare the intention for a validation to be
attached to the type composite: @schema/validation.
  • Loading branch information
jtigger authored and mamachanko committed Oct 11, 2022
1 parent c0198cf commit bb3eb19
Showing 1 changed file with 136 additions and 94 deletions.
Loading

0 comments on commit bb3eb19

Please sign in to comment.