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

Aggregation builder snippets should apply disregaring the env

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.40.3
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • Iteration Lambeosaurus
    • Not Needed

      Description: When selecting a stage that is not supported by the server user is connected to, snippet is omitted and the default fallback one (empty object) is used. As we allow users to select the stage, there is no reason to not apply the snippet for that case.

      To reproduce, connect to non-Atlas server (like a locally running one) and select $search stage

            Assignee:
            basit.chonka@mongodb.com Basit Chonka
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: