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
I am trying to use the new | reject filter for arrays. It works fine when the page is rendered normally (even though theme-check still considers it an unknown filter). However, when I fetch the same section using the Section Rendering API, it returns an error.
Error Message: Liquid syntax error (snippets/cart-drawer line 53): Expected end_of_string but found dash in "{{final_actives_promos -check-: 'display_name', promo.display_name }}"
Has anyone encountered this issue or can provide some insights?
The text was updated successfully, but these errors were encountered:
Hi everyone,
I am trying to use the new
| reject
filter for arrays. It works fine when the page is rendered normally (even though theme-check still considers it an unknown filter). However, when I fetch the same section using the Section Rendering API, it returns an error.Liquid Code:
{% assign final_actives_promos = final_actives_promos | reject: 'display_name', promo.display_name %}
Error Message:
Liquid syntax error (snippets/cart-drawer line 53): Expected end_of_string but found dash in "{{final_actives_promos -check-: 'display_name', promo.display_name }}"
Has anyone encountered this issue or can provide some insights?
The text was updated successfully, but these errors were encountered: