Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6245

Add a trailing comma to stage when commenting

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      The commented stage in text view looks something like this:

      // {  
      //   $project: {
      //     _id: 1,
      //     name: 1,
      //     bathrooms: 1,
      //   }
      // }
      

      When the user uncomments it, it will be helpful to avoid syntax error by adding trailing comma.

      Attachments

        Activity

          People

            Unassigned Unassigned
            basit.chonka@mongodb.com Basit Chonka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: