fix: ensures you can query on mixed schema type within blocks

This commit is contained in:
James
2022-08-12 16:08:36 -07:00
parent 9e4e4b231c
commit fba0847f0f
5 changed files with 42 additions and 4 deletions

View File

@@ -203,6 +203,8 @@ class ParamParser {
if (priorSchemaType.instance === 'Mixed' || priorSchemaType.instance === 'Array') {
lastIncompletePath.path = currentPath;
}
} else {
lastIncompletePath.path = currentPath;
}
if (operator === 'near') {