[COMPASS-6272] Expose setNamespace function in compass-export-to-language for Data Explorer Created: 02/Nov/22 Updated: 27/Oct/23 Resolved: 17/Nov/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Story | Priority: | Major - P3 |
| Reporter: | Jack Weir | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Documentation Changes: | Not Needed | ||||
| Description |
Problem Statement/RationaleWould 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
|