Skip to content

feat: implement d2:condition#88

Closed
superskip wants to merge 3 commits intomainfrom
DHIS2-20283
Closed

feat: implement d2:condition#88
superskip wants to merge 3 commits intomainfrom
DHIS2-20283

Conversation

@superskip
Copy link
Copy Markdown
Collaborator

Continuation of #77

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Oct 8, 2025

@sonarqubecloud
Copy link
Copy Markdown

evalToNumber(fn.child(1)))
NamedFunction.d2_ceil -> functions.d2_ceil(evalToNumber(fn.child(0)))
NamedFunction.d2_concatenate -> functions.d2_concatenate(evalToStrings(fn.children()))
NamedFunction.d2_condition -> functions.ifThenElse(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This funciton is already declared at line 63.
It was implemented in version 1.2.2, I think you were not seeing it before.

evalToNumber(fn.child(1)))
NamedFunction.d2_ceil -> functions.d2_ceil(evalToNumber(fn.child(0)))
NamedFunction.d2_concatenate -> functions.d2_concatenate(evalToStrings(fn.children()))
NamedFunction.d2_condition -> functions.ifThenElse(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This funciton is already declared at line 63.
It was implemented in version 1.2.2, I think you were not seeing it before.

@ameenhere ameenhere closed this Dec 22, 2025
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.

3 participants