We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
It seems that with_scope keys containing an operator do not work with ruby 2.6.
with_scope
As an example, the following syntax change makes them work again:
- {% with_scope price.gt: {default: {discount: 0}}, "functions.in" => {id: product_functions } %} + {% with_scope "price.gt" => {default: {discount: 0}}, "functions.in" => {id: product_functions } %}
The symptom is that in places such as
locomotive-shopinvader/lib/shop_invader/services/elastic_service.rb
Line 139 in cef298f
keys has value "t" instead of the value the developer intended (such as function.in).
keys
"t"
function.in
I'm not sure if this issue arises in locomotive-shopinvader or upstream in locomotive.
The text was updated successfully, but these errors were encountered:
cc/ @lmignon
Sorry, something went wrong.
@sebastienbeau @rvalyi do you have any opinion on this issue?
No branches or pull requests
Hi,
It seems that
with_scope
keys containing an operator do not work with ruby 2.6.As an example, the following syntax change makes them work again:
The symptom is that in places such as
locomotive-shopinvader/lib/shop_invader/services/elastic_service.rb
Line 139 in cef298f
keys
has value"t"
instead of the value the developer intended (such asfunction.in
).I'm not sure if this issue arises in locomotive-shopinvader or upstream in locomotive.
The text was updated successfully, but these errors were encountered: