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

Fixkamo-internal
সারি
২৩ মার্চ, ২০২৬ এ ৬:৫৬ AM UTC
লেখক
kamo
মন্তব্য@ info: status
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.

সব পরিবর্তন

যেমন তুমি জাহাজ দেখেছ?

প্রত্যেকটা আপডেট স্বয়ংক্রিয়ভাবে আপনার কর্মক্ষেত্র স্বয়ংক্রিয়ভাবে. সপ্তাহের পর সপ্তাহের মধ্যে মুক্ত হয়ে তা দেখতে শুরু করুন।.

চিরকালের জন্য মুক্তকরণ আরম্ভ করা হবেপ্রদর্শন সংক্রান্ত পছন্দ