[KBSON-5] Add support for ObjectId and Decimal128 Created: 24/Aug/22  Updated: 28/Oct/23  Resolved: 14/Oct/22

Status: Closed
Project: Kotlin BSON
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Christian Melchior (Inactive) Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Initial KBson release

 Description   

Add support for a public ObjectId and Decimal128 types similar to BSON for Java. These might be better for direct use in Kotlin data classes.

A starting point could be this implementation: https://github.com/realm/realm-kotlin/blob/master/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/types/ObjectId.kt



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Added typealias for ObjectId and Decimal128 (#6)

Also, added timestamp based helper for BsonObjectId

KBSON-5
Branch: main
https://github.com/mongodb/kbson/commit/f1d53362743de344826db0ab623d8aa1c06a96ff

Generated at Thu Feb 08 09:06:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.