issues
search
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
Add "Writing Validations"
#727
Closed
pivotaljohn
closed
2 years ago
pivotaljohn
commented
2 years ago
Notes:
includes
likely points-of-confusion
one_not_null=
explicitly call-out the need to mark target fields with
@schema/nullable
"To avoid confusion: convey this mapping from typed-terms to the concept of 'required'"
"Show the overall pattern, explicitly... and then with examples....(e.g. pattern = go from keyword arg to assertion function; go from assertion function to explicit lambda)"
Notes:
one_not_null=
@schema/nullable