Fixes issue affecting queries on Pointer arrays (#3721)
* Transform array atoms on equality * nits
This commit is contained in:
@@ -232,7 +232,7 @@ function transformQueryKeyValue(className, key, value, schema) {
|
||||
}
|
||||
|
||||
if (expectedTypeIsArray && !(value instanceof Array)) {
|
||||
return {key, value: { '$all' : [value] }};
|
||||
return {key, value: { '$all' : [transformInteriorAtom(value)] }};
|
||||
}
|
||||
|
||||
// Handle atomic values
|
||||
|
||||
Reference in New Issue
Block a user