mikebridge / Liquid.NET

.Net Port of the Liquid template language
MIT License
62 stars 15 forks source link

Add ability to assign value to hash #55

Open mikebridge opened 8 years ago

mikebridge commented 8 years ago

{% 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)