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

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

    XMLWordPrintableJSON

Details

    • Icon: Story Story
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • Export to Language
    • None
    • Not Needed

    Description

      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  

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: