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

Added unknown variable parent and loop management #30

Merged
merged 7 commits into from
Mar 19, 2024

Conversation

alexisszmundy
Copy link
Contributor

Variables not in specs are now linked to their parent if they have a "_" delimiter in their name

if(variableName.startsWith(Constants.FILTER_RESULT_PREFIX)
&& variablesMap.hasVariable(variableName.replace(Constants.FILTER_RESULT_PREFIX,""))
){
Variable parentVariable = variablesMap.getVariable(variableName.replace(Constants.FILTER_RESULT_PREFIX,""));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the wording "parentvariable". It's not the parent as it's not a tree. It's more a "linkedvariable" or "attachedVariable"...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally, we choose "relatedVariable", are you ok ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@alexisszmundy alexisszmundy merged commit e98e2bb into main Mar 19, 2024
1 check passed
@alexisszmundy alexisszmundy deleted the devMissingAndFilterResultLoop branch August 26, 2024 07:48
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.

2 participants