Skip to content

test: add nested where fail-closed coverage#1764

Open
tamjid14 wants to merge 1 commit into
typicode:mainfrom
tamjid14:test/nested-where-fail-closed
Open

test: add nested where fail-closed coverage#1764
tamjid14 wants to merge 1 commit into
typicode:mainfrom
tamjid14:test/nested-where-fail-closed

Conversation

@tamjid14
Copy link
Copy Markdown

Summary

This PR adds regression coverage for nested _where filters that should fail closed when an intermediate field is missing or is not an object.

Why

Related to #1731, a restrictive nested _where condition should not accidentally match every item when the nested path does not exist.

Testing

  • Added nested _where regression cases
  • Updated nested filter behavior
  • npm test passes with 126 tests

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