Skip to content

fix(matching): support rules combined with OR in the V2 matching engine - #28

Open
YOU54F wants to merge 1 commit into
masterfrom
fix/matching-or-v2-engine
Open

YOU54F wants to merge 1 commit into
masterfrom
fix/matching-or-v2-engine

Conversation

@YOU54F

@YOU54F YOU54F commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Split out of feat/or-matcher-improvements. 9 new engine tests pass locally.

Commits

fix(matching): support rules combined with OR in the V2 matching engine

  • The or action folded its results from OK, so it never failed. It now
    folds from the first child result.
  • Errors from the branches of a successful or are no longer reported as
    mismatches.
  • An object with rules combined with OR that include a null matcher now
    accepts a null value, and only checks the object's entries when the
    value is not null (new json:not-null action).

🤖 Generated with Claude Code

* The `or` action folded its results from OK, so it never failed. It now
  folds from the first child result.
* Errors from the branches of a successful `or` are no longer reported as
  mismatches.
* An object with rules combined with OR that include a null matcher now
  accepts a null value, and only checks the object's entries when the
  value is not null (new `json:not-null` action).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant