mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-07-25 08:19:15 +00:00
Persist the KV value field as a BSON string so it is directly readable in the Atlas/Compass UI, matching DynamoDB's String storage. Reads still accept BSON binary as a backward-compat fallback. Non-UTF-8 callers must encode upstream, same constraint as DynamoDB; all current callers write JSON.