carvel-dev / ytt

YAML templating tool that works on YAML structure instead of text
https://carvel.dev/ytt
Apache License 2.0
1.68k stars 137 forks source link

Schema Validation v2 #724

Open pivotaljohn opened 2 years ago

pivotaljohn commented 2 years ago

(this is the next feature increment of #561)


As a Configuration Author I want to declare what constitutes a valid Data Value right in my schema definition In a way that requires even less custom Starlark code from me ⭐ And I can write fewer annotations ⭐ because ytt can confidently infer for what have written. *So that**

(⭐ = a desired improvement on top of the MVP.)

[proposal] [getting started]


Backlog

UX:

Fast Follow: other must-have OOTB rules

Programmatic Validation of YAML

Include Validations in Schema Inspect

Authoring Conveniences:


Resources

Related Issues: