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
What I would like is a method on cue.Value that allows me to finalise v to give a cue.Value which would render as:
{
a: "a"
}
Noting that at the time of writing #3285 is a bug. But even if that bug were fixed, there is no method on cue.Value that I can call with cue.Final to say "there is nothing more to come".
Describe the solution you'd like
A method on cue.Value that accepts cue.Final() and returns a finalised cue.Value.
Describe alternatives you've considered
Nothing particularly elegant, other than going to and from CUE source.
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Consider the following code:
As expected this gives:
i.e.
v
is incomplete.What I would like is a method on
cue.Value
that allows me to finalisev
to give acue.Value
which would render as:Noting that at the time of writing #3285 is a bug. But even if that bug were fixed, there is no method on
cue.Value
that I can call withcue.Final
to say "there is nothing more to come".Describe the solution you'd like
A method on
cue.Value
that acceptscue.Final()
and returns a finalisedcue.Value
.Describe alternatives you've considered
Nothing particularly elegant, other than going to and from CUE source.
Additional context
n/a
The text was updated successfully, but these errors were encountered: