-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Services Providers, Tech debt
-
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.