-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: bson-5.0.1
-
Component/s: BSON
-
None
-
None
-
Ruby Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Reported via GitHub: https://github.com/mongodb/bson-ruby/discussions/337
If a new BSON::ObjectId is created via BSON::ObjectId.from_time, it should base the new ObjectId on the time argument that was given. However, if unique: true is specified, the time argument is effectively ignored (because the C implementation of next_object_id does not refer to its parameter at all.