test: D1-7 enforce LiquidOperatorSubset, reject unsupported comparison operators at publish
This commit is contained in:
1 parent
a9740207cc
commit
d606d9b26b
4 files changed
+94
-5
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user