Skip to content

Conversation

@suddendust
Copy link
Contributor

Description

These test cases cover the following cases when the LHS is a nested array in a flat collection:

  1. CONTAINS scalar: Looks if the LHS array contains the RHS value.
  2. NOT_CONTAINS scalar.
  3. CONTAINS array: Looks for exact match of the RHS array (similar to Mongo).
  4. NOT_CONTAINS array.

Testing

Added integration tests.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

1. CONTAINS scalar.
2. NOT_CONTAINS scalar.
3. CONTAINS array.
4. NOT_CONTAINS array.
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.44%. Comparing base (c771349) to head (a43fb87).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #256      +/-   ##
============================================
+ Coverage     80.40%   80.44%   +0.03%     
  Complexity     1256     1256              
============================================
  Files           227      227              
  Lines          5839     5839              
  Branches        517      517              
============================================
+ Hits           4695     4697       +2     
+ Misses          790      789       -1     
+ Partials        354      353       -1     
Flag Coverage Δ
integration 80.44% <ø> (+0.03%) ⬆️
unit 57.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suresh-prakash suresh-prakash merged commit df5c5f6 into hypertrace:main Dec 5, 2025
6 checks passed
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.

2 participants