-
I have a common list of rules. But I don't have to check my config with all the rules. It depends on conditions. And this condition is located at the same config, but in different structure. Is it possible to make such validations?
I'd like to check "/tmp/africa.yml"."structure"."conf"."cities" list only if "conf"."check_africa" is set to "true".
Is it possible? How can I refer to data from outer / external config file? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @gulnarrra and welcome! Yes, this is possible. But the identifier Consider the following example:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Please, help) |
Beta Was this translation helpful? Give feedback.
Hi @gulnarrra and welcome!
Yes, this is possible. But the identifier
conf
needs to be in scope in the CUE file.Consider the following example: