test: D1-7 enforce LiquidOperatorSubset, reject unsupported comparison operators at publish

This commit is contained in:
2026-05-29 22:25:06 +02:00
parent a9740207cc
commit d606d9b26b
4 changed files with 94 additions and 5 deletions

View File

@@ -223,6 +223,10 @@ invariant LiquidOperatorSubset {
-- Special values: blank (nil/empty comparison)
-- Property access: dot notation (object.property), .size on arrays,
-- bracket notation for map lookups (map[key])
--
-- Enforced at publish/validation time (LiquidParser.validate); any other
-- comparison operator (!=, <, >=, <=, contains) is rejected even though
-- Liquex would otherwise evaluate it.
}
invariant LiquidRenderContext {