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
The output from the command is definitely correct and the mistake lies with the docs. Basically the docs should be updated so that the result of (a): "baz" is foo: "baz" not bar: "baz". The a: "foo in the docs example also needs a closing ".
I'm happy to post a PR once I confirm employer sign-off on contributions.
The text was updated successfully, but these errors were encountered:
Since `a: "foo"` is provided in the example, the result of `(a): "baz"`
is `foo: "baz"` not `bar: "baz"`.
Also add a missing quote.
Closes: cue-lang#2592
Since `a: "foo"` is provided in the example, the result of `(a): "baz"`
is `foo: "baz"` not `bar: "baz"`.
Also add a missing quote.
Closes: cue-lang#2592
Signed-off-by: Stephen Herbein <[email protected]>
What version of CUE are you using (
cue version
)?What did you do?
I copied the dynamic fields example from the docs at https://cuelang.org/docs/references/spec/#dynamic-fields
What did you expect to see?
What is listed in the docs :
What did you see instead?
The output from the command is definitely correct and the mistake lies with the docs. Basically the docs should be updated so that the result of
(a): "baz"
isfoo: "baz"
notbar: "baz"
. Thea: "foo
in the docs example also needs a closing"
.I'm happy to post a PR once I confirm employer sign-off on contributions.
The text was updated successfully, but these errors were encountered: