Closed vasan-agrostar closed 1 month ago
Forked from issue #3 by @gitblit.
Cannot use $gt, $gte, $lt, $lte operators on array size.
$gt, $gte, $lt, $lte
Arrays can only be asserted for exact sizing. Ideally I'd like more flexibility on testing array sizes.
$.items: { $exists: true, $type: array, $size: { $gt: 5 } }
Even I have felt the need for these. Currently the tests are process only one level deep. We will need to add the next level. We will take this up.
zzapi v1.2.0 and zzapi-vscode v2.1.0 address this issue.
Forked from issue #3 by @gitblit.
Cannot use
$gt, $gte, $lt, $lte
operators on array size.Arrays can only be asserted for exact sizing. Ideally I'd like more flexibility on testing array sizes.
$.items: { $exists: true, $type: array, $size: { $gt: 5 } }