Forward raw JSON responses in notes API routes to preserve ID precision

Fixkamo-internal
Shipped
2026年3月23日 06:56 UTC
Author
kamo
Commit
129a422

CockroachDB unique_rowid() IDs exceed JavaScript's MAX_SAFE_INTEGER. The previous response.json() + NextResponse.json() round-trip caused JSON.parse to convert string IDs to numbers, losing precision (e.g. 1160515565614497798 became 1160515565614497800). Now forwards the raw response text to preserve exact ID values from the backend.

All changes

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价