[COMPASS-3909] Bad code snippet for $addFields in agg builder Created: 26/Sep/19  Updated: 29/Oct/23  Resolved: 02/Oct/19

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.20.0

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image (2).png    
Sprint: Iteration Newt

 Description   

The $addFields snippet is missing a closing bracket. It’s weird because th snippet in ace-autocompleter seems fine: https://github.com/mongodb-js/ace-autocompleter/blob/master/lib/constants/stage-operators.js#L14



 Comments   
Comment by Githook User [ 02/Oct/19 ]

Author:

{'name': 'Durran Jordan', 'username': 'durran', 'email': 'durran@gmail.com'}

Message: COMPASS-3909: Fix stage operator snippets
Branch: 1.20-releases
https://github.com/mongodb-js/compass/commit/3741e562fda14874e17f668fe7906cb5b2e72079

Comment by Githook User [ 02/Oct/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3909: Fix stage operator snippets
Branch: master
https://github.com/mongodb-js/compass/commit/a7ba06fe0a49e2fdbfd1d4516e8a5ff69753cc1c

Comment by Githook User [ 02/Oct/19 ]

Author:

{'username': 'durran', 'email': 'durran@gmail.com', 'name': 'Durran Jordan'}

Message: COMPASS-3909: Fix stage operator snippets
Branch: 1-20-fixes
https://github.com/mongodb-js/compass/commit/8402cb033cc04d73c91a8d744c22a50155362c93

Generated at Wed Feb 07 22:34:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.