This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Replies: 2 comments
-
Something like this will probably get you what you want (again, apologies for the delay in replying to this)
Gives:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion has been migrated to cue-lang/cue#895. 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
-
Given the API in
cue.Value
with theWalk
andFields
functions, and also using a custom walk function as in #862is it possible to discover the constraint side of a pattern constraint in the following? (for labels and other)
Does one need to go to the AST for the ability to walk into
thing.labels
andthing.other
?Beta Was this translation helpful? Give feedback.
All reactions