-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: BSON
Use Case
As a Node driver engineer,
I want to use native private fields instead of a weakmap to store cached hex strings,
So that we can stay up-to-date with modern syntax.
User Experience
- Unaffected.
Dependencies
- n/a
Risks/Unknowns
- n/a
Acceptance Criteria
Implementation Requirements
- Remove the weakmap in ObjectId.ts and instead use a private property to store the cached hex string on the ObjectId when caching is enabled.
Testing Requirements
- None.
Documentation Requirements
- none.
Follow Up Requirements
- none.