-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 1.43.3
-
Component/s: Embedded Shell
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Developer Tools
-
3
This pipeline in the embedded shell in Compass causes and infinite loader. It works as expected in mongosh.
db.test.aggregate([ { $addFields: { newField: { $function: { body: function (name) { return 1; }, args: ["$name"], lang: "js" } } } } ])