KamoCRM

Serialize NoteDTO Long IDs as strings for JavaScript precision safety

Fixkamo-shared-library
Shipped
23 மார்ச், 2026 அன்று 8:10 PM UTC
Author
Kamo
Commit
bde9c7a

CockroachDB unique_rowid() IDs exceed JavaScript's MAX_SAFE_INTEGER, causing precision loss when parsed as numbers. Add @JsonSerialize with ToStringSerializer to id and userId fields so they are serialized as JSON strings.

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