...
1
2-- frontmatter.toml --
3title = "Boilerplate"
4description = ""
5draft = true
6
7-- text.md --
8Constraints specify what values are allowed.
9To CUE they are just values like anything else,
10but conceptually they can be explained as something in between types and
11concrete values.
12
13Constraints can be used to validate values of concrete instances.
14They can be applied to CUE data, or directly to YAML or JSON.
15
16But constraints can also reduce boilerplate.
17If a constraints defines a concrete value, there is no need
18to specify it in values to which this constraint applies.
View as plain text