We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently simple arithmetic doesn't work in Qute templating: I have used ... {datasetOrdinal + 1 } ... and received an exception:
... {datasetOrdinal + 1 } ...
io.quarkus.qute.TemplateException: Method "+(1)" not found on the base object "java.lang.Integer" in expression {datasetOrdinal.+(1)} in template
I am not sure why I assumed this would work but it would be definitely nice.
No response
The text was updated successfully, but these errors were encountered:
/cc @mkouba
Sorry, something went wrong.
This is definitely doable and I have a branch with POC that implements simple arithmetic operations: https://github.com/mkouba/quarkus/tree/qute-additive-operators
Qute - support addition and subtraction for integer numbers
6ee3af3
- resolves quarkusio#25824
d7a451b
mkouba
Successfully merging a pull request may close this issue.
Description
Currently simple arithmetic doesn't work in Qute templating: I have used
... {datasetOrdinal + 1 } ...
and received an exception:I am not sure why I assumed this would work but it would be definitely nice.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: