mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
ecf0b4a1dd
The Document and Row response models were casting $sequence to (int), which destroyed UUID7 values on MongoDB. On MongoDB, $sequence is the internal _id field which is a UUID7 string, not an auto-increment integer. The (int) cast converted UUID7 values like "019c56a9-df6d-73fa-8d48-..." to 19, making $sequence queries fail validation with 400. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>