Support for basic operators in template values
redgeoff opened this issue · 7 comments
redgeoff commented
To be able to support configurations like #183 in a more streamlined way, we can use operators like !
, +
, -
, /
, *
, %
, =
, &
, |
redgeoff commented
An alternative to this is to support a notation like mongo queries, which may be more declarative
redgeoff commented
The more I think about this, he more that I think we want to use mongodb-style queries so that it can more easily be customized by a UI in the future. The lib https://github.com/kofrasa/mingo, may help
redgeoff commented
redgeoff commented
Example of a conditional operator (ternary) using Mongo Queries
redgeoff commented
Implemented by #306. And, here is some documentation