Skip to content
Discussion options

You must be logged in to vote

got this answered in discord

`
verdverm.com — Yesterday at 3:36 PM
In CUE, changing values is prohibited because it makes it difficult to know where a value was actually set from. A common approach is to have

  1. A schema, a CUE value without any specifics set, typically a definition
  2. A value with defaults (probably your base), i.e. field1: string | *"foo"
    3.A final, specific values CUE value where everything is set in stone
    `

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gopakumarce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant