-
Type: Epic
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Done
-
Options Management
We have an options problem in node-mongodb-native. Migration of options over time has been a large source of bugs and confusion. We don't have an easy to way indicate that options are deprecated, or support multiple variant spelling forms, as well as validating that the type specified is valid. Finally, it seems to have become our policy to always shallow copy options, but we haven't followed through on this is in most cases. Creating a minimalistic schema for options would allow us to solve all these problems.
Included in this epic is a seemingly unrelated ticket to refactor the URI parser, but that uses options just like the rest of our public API, so it's included for completeness.