Bug in TypedSQL in version 5.22
Here is my schema
postgres latest
my chest Table
my test query inside prisma/sql
implemention
error
error without a catch
3 Replies
I think I found the root cause
if I remove extending replicas it works
okay I fixed it like this
maybe worth adding as a warning in the documentation
Hey @Mohammad Orabi 🇱🇧 👋
Thank you for reporting this.
If I understand correctly, this issue occurred as you were using read replicas with TypedSQL, right?
yes
but I fixed it and it worked correctly with explicitly stating if primary or replica
and if you responded , I have another issue that I was not able to fix which is different than this but also TypedSql related ,
may I share it , or do a new thread?
will do a new one