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

Agg Pipeline Builder does not allow comments, confusing error message

    • Sprint Vanilla Ice

      This may not be supported but I'm raising it anyway, perhaps as a feature request.

       

      Affected Version

      1.14.0-beta.1

      Actual Behavior

      When adding comments in the editor for aggregation stages, it doesn't parse the objects anymore and instead displays an error expecting a [ or AggStage.

      That's confusing and it took me a while that the comment caused this issue.

      See attached screenshots.

      Expected behavior

      The comments are silently ignored.

        1. agg-stage-with-comment.png
          24 kB
          Thomas Rueckstiess
        2. agg-stage-without-comment.png
          20 kB
          Thomas Rueckstiess

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: