BUG-010
ID:BUG-010Status:fixed

An unresolvable data where value silently matches every row

{% data %} resolves where through resolveString, which handles string literals and Variable nodes. Anything else — a Function node, most obviously — returns the empty string, and applyWhere treats an empty expression as no filter. So a where the rune cannot understand renders the entire source instead of erroring.

Severity:majorMilestone:v0.33.0
claude/content-author-docs-org-vps1un View source

Criteria completion

Criteria completion: 5 of 5 (100%) checked; history from Sep 11 to Sep 110%25%50%75%100%Sep 11Sep 11
Branches 3
History 2
  1. f23d794
    • ☑ A `where` attribute that is present but resolves to empty is an error, not a silent pass-through
    • ☑ The message names the attribute and says what was unresolvable
    • ☑ `sort`, `columns` and the other optional shaping attributes behave the same way — present-but-unresolvable is not silently ignored
    • ☑ Omitting an attribute entirely stays valid and unchanged
    • ☑ A test covers present-but-unresolvable separately from absent, since the two produce identical values today
    by bjornolofandersson
  2. 4b08b34
    Created (confirmed)by bjornolofandersson