You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I don't know how to implement solving expressions with current aproach.
Majority of template engines have if statements that can contains expressions like django does:
{% if somevar == "x" %}
This appears if variable somevar equals the string "x"
{% endif %}
There is no callback like render or test that can satisfy this functionality in simple way. Would not it be better to merge render and test to something like select_value that will return selected value back to dispatching machine. And then it can solve expressions in common way?
The text was updated successfully, but these errors were encountered:
Hi all, I don't know how to implement solving expressions with current aproach.
Majority of template engines have
if statements
that can contains expressions like django does:There is no callback like
render
ortest
that can satisfy this functionality in simple way. Would not it be better to mergerender
andtest
to something likeselect_value
that will return selected value back to dispatching machine. And then it can solve expressions in common way?The text was updated successfully, but these errors were encountered: