Replies: 1 comment 3 replies
-
Original reply by @seh in cuelang/cue#392 (comment) When parsing this YAML, the quotation marks surrounding the string values are consumed and discarded by the parser. Your view of the imported data within CUE won't be able to tell the difference between the YAML values having been quoted or not. Was your goal to preclude there being any values that parse as numbers as opposed to strings? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Originally opened by @dariada in cuelang/cue#392
Hey, I have a ConfigMap file that contains a data block of string and number variables.
Is there a way to to check that the value meets certain conditions but does not limit the field name?
For example,
For fields that are string check that they contain quotes at the beginning and end without referring to the field name itself so we can add new fields without describing each one.
Beta Was this translation helpful? Give feedback.
All reactions