This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Replies: 2 comments 3 replies
-
Introducing a value alias seems to work. |
Beta Was this translation helpful? Give feedback.
3 replies
-
This discussion has been migrated to cue-lang/cue#957. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't understand why in the following snippet I need to redefine
a
to make it works:https://tip.cuelang.org/play/?id=F6u1b8CNGSO#cue@export@cue
The real context is to be able to automatically generate the name of
#ServicePort
from theprotocol
and theport
defined in the generated kubernetes schema (cue.mod/gen directory). I would do this in the same folder hierarchy in cue.mod/usr):Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions