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

templater: add relational operators (> , >=, <, <=) #5072

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

bnjmnt4n
Copy link
Collaborator

Closes #5062.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

@bnjmnt4n bnjmnt4n changed the title templater: add relational operators (> , >=, <, <=`) templater: add relational operators (> , >=, <, <=) Dec 11, 2024
Copy link
Collaborator

@yuja yuja left a comment

Choose a reason for hiding this comment

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

Thanks!

cli/src/template_builder.rs Outdated Show resolved Hide resolved
cli/src/template_parser.rs Outdated Show resolved Hide resolved
@bnjmnt4n bnjmnt4n force-pushed the bnjmnt4n/push-kplpsxypoouy branch from 28244ac to d439d99 Compare December 11, 2024 12:02
These methods will be used to add `>`, `>=`, `<`, and `<=` operators to
the template language.
@bnjmnt4n bnjmnt4n force-pushed the bnjmnt4n/push-kplpsxypoouy branch from d439d99 to cbf07df Compare December 11, 2024 12:09
@bnjmnt4n bnjmnt4n merged commit da5b790 into main Dec 12, 2024
31 checks passed
@bnjmnt4n bnjmnt4n deleted the bnjmnt4n/push-kplpsxypoouy branch December 12, 2024 11:56
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.

FR: Greater than (>, >=) and less than (<, <=) comparison operators
2 participants