Replies: 2 comments 2 replies
-
Original reply by @myitcv in cuelang/cue#860 (comment) Do you find yourself in this situation there are multiple "sites" where you want to insert values? If so, consider using hidden fields/definitions at each "site" and do something like:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Original reply by @mpvl in cuelang/cue#860 (comment) The idea is that this will be addressed with associative lists, See #165, but this is not implemented yet. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Originally opened by @b4nst in cuelang/cue#860
Is there a way to have this behavior working?
It's failing rightfully because
1
and3
are conflicting. I've tried withlist.Concat
but since I want to use the same list I end up on a cycling error (also expected).Currently my workaround is to use an embedded definition + field comprehension
Beta Was this translation helpful? Give feedback.
All reactions