Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bug) Updated definition loader to evaluate children inputs #1122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SavinPopescu
Copy link

Describe the change
Updated the way of getting children of a JObject in order to evaluate expressions for inputs that have child elements.

Describe your implementation or design
Used the select token method in order to select the children then evaluate the type of the token before adding to the stack of JObjects.

Tests
Created a new step, DynamicDataStep that I have added into stored-dynamic-definition.json with a complex object in Inputs.

Breaking change
No, this is an added functionality on top. It is a bug fix because children items were not evaluated.

Additional context
We discovered the issue when working for a dynamic workflow solution for one of our clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant