-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
Currently the Node.js Driver supports receiving an ObjectId in it's Collection.find, findOne, and GridFSBucket.find methods. During command construction it will detect the ObjectId and wrap it in a document that has an "_id" field mapped to the provided ObjectId. The Node DBX team needs to determine the future support or lack of support for this feature via documentation, typescript definitions, and/or findAndModify APIs.
Dependencies
- findAndModify command construction
- Typescript definitions
- API documentation
Unknowns
- How does deprecation look for an undocumented feature?
- Method overloads
- union ObjectId with Filter type
Acceptance Criteria
Implementation Requirements
- TBD
Testing Requirements
- TBD
Documentation Requirements
- TBD
Follow Up Requirements
- DevTools depends on this functionality, any planned changes should be communicated as early as possible.