https://github.com/brexhq/substation/pull/215 introduced a self-referential function issue. This doesn't impact the source code, but configurations that use this transform can't be compiled and return this Jsonnet error: RUNTIME ERROR: max stack frames exceeded..
Motivation and Context
It's a bug fix.
How Has This Been Tested?
Re-tested the existing example and tested the new examples.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
https://github.com/brexhq/substation/pull/215 introduced a self-referential function issue. This doesn't impact the source code, but configurations that use this transform can't be compiled and return this Jsonnet error:
RUNTIME ERROR: max stack frames exceeded.
.Motivation and Context
It's a bug fix.
How Has This Been Tested?
Re-tested the existing example and tested the new examples.
Types of changes
Checklist: