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
"Psycho-Onko-Screening": incomplete value {SingleForm:{formId:"psychoOnkoScreening",showNumberOfInstances?:bool}} | {SingleForm:{formId:"psychoOnkoScreening"}}
but showNumberOfInstances?:bool shouldn't cause an incomplete value error, because the field is optional. As the test shows this only happens when an alternative is involved. I'm not sure if it might be correct with respect to the language definition. It seems to also cause performance problems in a larger example because these alternatives aren't resolved / merged. I don't see how {a?: X} would be different from {} | {a?: X} because {a?: X} "includes" {}.
The text was updated successfully, but these errors were encountered:
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes
What did you do?
What did you expect to see?
A passing test.
What did you see instead?
The test fails with the following message
but
showNumberOfInstances?:bool
shouldn't cause anincomplete value
error, because the field is optional. As the test shows this only happens when an alternative is involved. I'm not sure if it might be correct with respect to the language definition. It seems to also cause performance problems in a larger example because these alternatives aren't resolved / merged. I don't see how{a?: X}
would be different from{} | {a?: X}
because{a?: X}
"includes"{}
.The text was updated successfully, but these errors were encountered: