Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-915

Remove driver dependencies from service-provider-core

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • None
    • 3
    • Not Needed

      We currently use mongodb and mongodb-client-encryption as dependencies in service-provider-core, so we can expose their types in the package’s own type definitions.

      That’s convenient, but goes against the whole point of having a service provider interface in the first place – the types should not need to match the driver’s types exactly.

      We should remove these dependencies and instead express the types ourselves, in a more limited way that matches what the shell-api package needs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: