Skip to content

Commit

Permalink
Do not assume scalar values are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Aug 5, 2024
1 parent eb4d1db commit 588eb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mass/adapters/outbound/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def pipeline_match_filters_stage(*, filters: list[models.Filter]) -> JsonObject:
"$or": [
{
"$and": [
{key: {"$type": "string"}},
{key: {"$not": {"$type": "array"}}},
{key: {"$in": values}},
]
},
Expand Down

0 comments on commit 588eb4b

Please sign in to comment.