8. A concrete value is final
In CUE, once a field has a concrete value nothing elsewhere can change it; a different value is an error, not an override.
You can read one line of configuration and trust it, without tracing layers, overlay order or file order.
Many configuration tools work in layers. A layer says replicas is one. A later layer says three, and overrides it.
It is a stack of sticky notes. You read the last one. But is it really the last?
So when you read a value, it may not be the final one. Something elsewhere may override it.
In CUE, a concrete value is written in ink. Concrete means a single value, like three. It is final.
Write five somewhere else, and nothing is overridden. CUE reports a conflict, and points at both places.
And a value that is not concrete, like int, tells you it is not settled yet.
Check yourself. In CUE, what happens if one file says replicas: 3 and another says replicas: 5?
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime