-
|
Consider the following example:
This validates succesfully. Then Should Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The testscript below represents what you describe above: Luckily, I also discovered this bug recently while investigating a different issue, and the bug got resolved in master in https://review.gerrithub.io/c/cue-lang/cue/+/1198874 - this fix is included in the latest release candidate. In short, we used to parse |
Beta Was this translation helpful? Give feedback.
The testscript below represents what you describe above:
Luckily, I also discovered this bug recently while investigating a different issue, and the bug got resolved in master in https://review.gerrithub.io/c/cue-lang/cue/+/1198874 - this fix is included in the latest release candidate. In short, we used to parse
.jsonfiles as if they were.jsonl, and an empty.jsonfile was then incorrectly decoded as a stream of zero values - whichcue vettreated as a no-op.