-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Shell API
-
None
-
Iteration Nectarine
-
Not Needed
During the project kickoff for Document Editing (VSCODE-106), we realized that the mongosh evaluator only returns the result of the last statement that is executed. This is not enough information for the document editing experience where we need:
to identify what type of result is being returned, to decide whether the documents are editable or not- when the results comes from a query or aggregation, to identify what database and collection the find was executed on
Therefore:
- The evaluator of mongosh should provide db and collection to be able to find the document that should be updated
The evaluator of mongosh returns not only the result value back but also the type of the last executed command.
Some more details are available in the project's tech design doc.