References and Visibility
A non-quoted field name that starts with an underscore (_
) is not emitted from the output. To includes fields in the configuration that start with an underscore put them in quotes.
Quoted and non-quoted fields share the same namespace unless they start with an underscore.
hidden.cue:
"_foo": 2 _foo: 3 foo: 4
$ cue export hidden.cue
{ "_foo": 2, "foo": 4 }