3 ms·
validating yaml, or any input data, is likely a good idea. does the validation have to be based on a human readable schema though? i’ve started manually valida
by nathants 4y ago
validating yaml, or any input data, is likely a good idea. does the validation have to be based on a human readable schema though?
i’ve started manually validating yaml the hard way, and writing human readable but otherwise useless schemas. it feels like a reasonable approach.
schema:
https://github.com/nathants/libaws#infrayaml https://github.com/nathants/libaws#infrayaml
manual validation the hard way:
https://github.com/nathants/libaws/blob/26fe86c65bbb0ea63ca7d6728836a146964f7c10/lib/infra.go#L2492 https://github.com/nathants/libaws/blob/26fe86c65bbb0ea63ca7...