dthyresson / prisma-extension-supabase-rls

Support Supabase Row Level Security with Prisma
MIT License
84 stars 7 forks source link

Due to prisma client extension bug, silently ignores transactions #3

Open fnimick opened 1 year ago

fnimick commented 1 year ago

If you perform any queries in a transaction created on an RLS-extended client, those query operations are issued outside the transaction and are therefore not rolled back properly on error.

See also: https://github.com/prisma/prisma/issues/20678