-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(adapter-d1): throws Error when string column contains any ISO date #25483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
* 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 <[email protected]> Co-authored-by: Yamashiro Takuro <[email protected]> Co-authored-by: Hinaloe <[email protected]>
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