Skip to content

Commit 9e2c59e

Browse files
Merge branch 'support-point-field-in-args'
2 parents 30cb26a + 3b156e1 commit 9e2c59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_mongo/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def chained_resolver(self, resolver, is_partial, root, info, **args):
400400
operation = list(arg.keys())[0]
401401
args_copy[arg_name.replace('.', '__') + operation.replace('$', '__')] = arg[operation]
402402
else:
403-
operations = ["$lte", "$gte", "$ne"]
403+
operations = ["$lte", "$gte", "$ne", "$in"]
404404
if isinstance(arg, dict) and any(op in arg for op in operations):
405405
operation = list(arg.keys())[0]
406406
args_copy[arg_name + operation.replace('$', '__')] = arg[operation]

0 commit comments

Comments
 (0)