Closed mikebridge closed 8 years ago
A LiquidString should generate a rendering error when ErrorWhenMissing() is on, and the property is not a LiquidNumeric value and it isn't a "special" property like .first, .last or .size.
LiquidString
ErrorWhenMissing()
LiquidNumeric
.first
.last
.size
Should work:
{{ mystring.last }} {{ mystring[0] }}
Should not work:
{{ mystring.foo }}
A
LiquidString
should generate a rendering error whenErrorWhenMissing()
is on, and the property is not aLiquidNumeric
value and it isn't a "special" property like.first
,.last
or.size
.Should work:
Should not work: