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

Ast fix: condition added in ftd::ast::VariableValue #1672

Merged
merged 5 commits into from
Jan 3, 2024
Merged

Conversation

Arpita-Jaiswal
Copy link
Contributor

@Arpita-Jaiswal Arpita-Jaiswal commented Jan 3, 2024

Earlier the following code was not working:

-- optional string name:


-- rendered:

-- rendered.text:

Hello

-- rendered.uis:

-- ftd.text: Hello

-- ftd.code:
if: {name != NULL}
text: $name
lang: ftd

-- end: rendered.uis

-- end: rendered






-- component rendered:
body text:
children uis:

-- ftd.column:

-- ftd.text: $rendered.text

-- ftd.column:
children: $rendered.uis

-- end: ftd.column

-- end: ftd.column

-- end: rendered

The generated ast didn't contain condition if: {name != NULL}. This PR fix this issue.

Arpita-Jaiswal and others added 5 commits January 3, 2024 15:44
Signed-off-by: Rithik Seth <106665190+Heulitig@users.noreply.github.com>
Signed-off-by: Rithik Seth <106665190+Heulitig@users.noreply.github.com>
@Heulitig Heulitig merged commit 83fc75d into main Jan 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants