KamoCRM

Serialize Long IDs as strings to prevent JS precision loss

FixVOIPService
Shipped
19 மார்ச், 2026 அன்று 11:50 PM UTC
Author
Kamo
Commit
71bebbe

CockroachDB unique_rowid() generates 64-bit integers larger than Number.MAX_SAFE_INTEGER (2^53-1). JS JSON.parse silently rounds them, causing conversation ID mismatch on send. Configure Jackson to emit Long/long values as JSON strings across all endpoints and NATS events.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing