Details
-
Bug
-
Resolution: Unresolved
-
Minor - P4
-
None
-
1.32.6
-
None
-
3
Description
Spotted while trying to reproduce https://jira.mongodb.org/browse/COMPASS-3030:
The query
```
{x: DBRef('ns', ObjectId())}```
can be "exported to language" from the CRUD view / toolbar, but fails when exported from an aggregation stage. The following error is displayed in the export to language dialog window:
Argument type mismatch: 'DBRef' expects types ObjectId but got type _string for argument at index 1