-
Notifications
You must be signed in to change notification settings - Fork 79
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
Implement contains
operator
#155
Labels
Milestone
Comments
epage
added
enhancement
Improve the expected
std-compatibility
Jekyll flavor of liquid
labels
Dec 29, 2017
This was referenced Jan 9, 2018
badboy
added a commit
to badboy/liquid-rust
that referenced
this issue
Jan 9, 2018
The contains operator works for strings (substring search), arrays (string in array) or objects (string key exists). The renderer will error if the right-hand side operator does not evaluate to a string, if the left-hand side is neither a string, array nor object or if the array contains non-string items. Fixes cobalt-org#155
badboy
added a commit
to badboy/liquid-rust
that referenced
this issue
Jan 9, 2018
The contains operator works for strings (substring search), arrays (string in array) or objects (string key exists). The renderer will error if the right-hand side operator does not evaluate to a string, if the left-hand side is neither a string, array nor object or if the array contains non-string items. Fixes cobalt-org#155
badboy
added a commit
to badboy/liquid-rust
that referenced
this issue
Jan 9, 2018
The contains operator works for strings (substring search), arrays (string in array) or objects (string key exists). The renderer will error if the right-hand side operator does not evaluate to a string, if the left-hand side is neither a string, array nor object or if the array contains non-string items. Fixes cobalt-org#155
badboy
added a commit
to badboy/liquid-rust
that referenced
this issue
Jan 9, 2018
The contains operator works for strings (substring search), arrays (string in array) or objects (string key exists). The renderer will error if the right-hand side operator does not evaluate to a string, if the left-hand side is neither a string, array nor object or if the array contains non-string items. Fixes cobalt-org#155
epage
added a commit
that referenced
this issue
Jan 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The parser is implemented but does nothing.
Contains should check substrings or array containment
See https://shopify.github.io/liquid/basics/operators/
The text was updated successfully, but these errors were encountered: