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
Liquid should support not — not only because it is the obvious thing to do, but also because it is required to write arbitrary boolean conditions. unless is not sufficient for nested negations --- @nickpearson shows how to compile not by hand in this comment, and the amount of extra needed code is significant.
I agree that it would be nice to have (same way having support for parentheses would be nice to have). Unfortunately it's not on our roadmap at the moment. But feel free to submit a PR and we will check it out.
Liquid should support
not
— not only because it is the obvious thing to do, but also because it is required to write arbitrary boolean conditions.unless
is not sufficient for nested negations --- @nickpearson shows how to compilenot
by hand in this comment, and the amount of extra needed code is significant.Moreover, the documentation claims:
but because of the absence of not, that's not true.
(I know that there is #138, but it was closed without sufficient discussion).
The text was updated successfully, but these errors were encountered: