fix(adapter-d1): throws Error when string column contains any ISO date#25483
fix(adapter-d1): throws Error when string column contains any ISO date#25483aqrln merged 9 commits intoprisma:mainfrom
Conversation
|
Hey @Takur0, thanks so much for the PR, the change looks good to me. Would you mind adding a test as well? |
|
Hi @aqrln, thank you for reviewing my PR! I'm happy to add a test for this change. I'll update the PR soon. |
… into fix/d1AdapterDateBug
|
Hi @aqrln, I've added the test as requested. Please let me know if there's anything else you'd like me to adjust. |
|
Thanks @Takur0, this looks great. My only comment is that even though it's a regression test for a specific issue that happened with D1 adapter, I think there's still value in running it with all providers and adapters. Maybe some hypothetical future adapter could introduce a similar issue, and we'll be able to catch it early with the test already in place. |
|
Thank you for your detailed comment, @aqrln ! I've updated the test code according to your suggestions. Please take a look! |
* feat(cli): [BREAKING] remove custom yarn logic * test(internals): update snapshots * chore(internals): get rid of unused fixtures * fix(fetch-engine): use rename syscall to ensure atomic moves (#25129) * fix(adapter-d1): throws Error when string column contains any ISO date (#25483) * fix(cli): `prisma version --json` suppress dotenv message (#25535) - fix #25478 `prisma version --json` should not contain non-json string. * chore: removed unused file * chore: restore yarn detection logic for Windows --------- Co-authored-by: Aman Karmani <aman@tmm1.net> Co-authored-by: Yamashiro Takuro <39460271+Takur0@users.noreply.github.com> Co-authored-by: Hinaloe <hina@hinaloe.net>
|
is this in a version I can use it? I'm not sure how to work around this |
Hi, this issue was fixed in Prisma 5.22.0. |
This PR closes #25404