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

Expose setNamespace function in compass-export-to-language for Data Explorer

    • Type: Icon: Story Story
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Export to Language
    • None
    • Not Needed

      Problem Statement/Rationale

      Would it be possible to expose the setNamespace function in @mongodb-js/compass-export-to-language? Without this setNamespace hook, Data Explorer is unable to update the store with the correct namespace, leaving it missing in the generated driver syntax.

      Ideally setNamespace could be exported just as configureStore is currently.

      Screenshot of the issue that this causes in Data Explorer for reference, notice the missing namespace in the exported pipeline  

            Assignee:
            Unassigned Unassigned
            Reporter:
            jack.weir@mongodb.com Jack Weir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: