Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validate config missed errors, when recursion is detected, add tests
E unable to resolv env.foo = {foo}, error: recursion exceeds 20 E unable to resolv env.afoo = a {afoo}, error: recursion exceeds 20 E unable to resolv env.foobar = {barfoo}, error: recursion exceeds 20 E unable to resolv env.barfoo = {foobar}, error: recursion exceeds 20 E unable to resolv env.repeat_unref_exceed = {qq} {qq} {qq} {qq} {qq} {qq}, error: recursion exceeds 20 E unable to resolv env.repeat_unref_exceed_x_4 = {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq} {qq}, error: recursion exceeds 20 E unable to resolv env.repeat_unref_exceed_a_b = {a}{b} {a}{b} {a}{b}, error: recursion exceeds 20 Maximum allowed unresolved ref names is 5 => env.bar = {foo} {foo} {foo} {foo} {foo} evaluated to {foo} {foo} {foo} {foo} {foo} => env.bar = {foo} {foo} {foo} {foo} {foo} {foo} config validate is not accepted, eval is refused
- Loading branch information
Showing
2 changed files
with
93 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters