You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Short hand notation for structs (no braces for internal references) is a very nice feature. I find myself wanting this same capability for lists to reduce verbosity.
The intention is to do this at some point. Note that this would seemingly be ambiguous to allowing integer maps as well. However, CUE internally lists and maps are treated identically, so a list would just be a constraint on the "totalness" of the map. So, technically, in the above example one would still need to define somewhere that the endpoints fields are lists. Presumably that is done in cds.#cluster already though.
So it is these details that need to be worked out to make that work, but basically this is being considered.
Is your feature request related to a problem? Please describe.
Short hand notation for structs (no braces for internal references) is a very nice feature. I find myself wanting this same capability for lists to reduce verbosity.
Describe the solution you'd like
Take a config like this:
And allow it to be written as:
Describe alternatives you've considered
Write it out more verbosely per above.
Additional context
None. I tried to look for an existing issue on this and could't find one. Sorry if I missed it. Thank you for a great tool!
The text was updated successfully, but these errors were encountered: