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
{{ message }}
This repository was archived by the owner on Nov 4, 2020. It is now read-only.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Ternary operators missing form the supported operators in expression language
Ternary operators missing from the supported operators in expression language
Aug 28, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://oroinc.com/b2b-ecommerce/doc/current/admin-guide/shipping/shipping-rules/expression-lang#expression-syntax
Ternary operators that are supported are missing from the list, they can be very useful e.g. to construct counting function like this
lineItems.sum((lineItem.product_unit_code = "5" ? 1 : 0 )
https://symfony.com/doc/current/components/expression_language/syntax.html#ternary-operators
The text was updated successfully, but these errors were encountered: