Mortadha.Dev
Featured Post

Restore Supabase RLS with Drizzle using tRPC middlewares

An experiment trying to fix Supabase RLS not working when using a direct db connection through an ORM, in a context of a tRPC, we can use middleware to create a wrapper around db calls and inject postgres `set_config` cmd to impersonate the correct roles and claims.

Continue reading
SupabasetRPCDrizzle
Picks
Latest