Liquid.NET icon indicating copy to clipboard operation
Liquid.NET copied to clipboard

Add ability to assign value to hash

Open mikebridge opened this issue 9 years ago • 0 comments

{% assign myhash.newvalue = 1 %} should add/update a value in a hash. Similarly,{% assign myhash.mysubhash.newvalue = 1 %} should work as expected.

Assigning to a non-existent value or a non-hash should generate an error.

This should work for capture too.

(Note: This is not a feature of Shopify Liquid)

mikebridge avatar Nov 13 '15 17:11 mikebridge