3 ms·
hey hn, supabase ceo here this is the #1 feature request from our community wrt Edge Functions. Our Functions run Deno, and so a lot of developers struggle to
by kiwicopple 3y ago
hey hn, supabase ceo here
this is the #1 feature request from our community wrt Edge Functions. Our Functions run Deno, and so a lot of developers struggle to migrate from Node. This update solves that. It was a lot of work - in the words of one of the developers: "the hardest thing I have implemented".
It's nice because it brings 100% feature parity across local dev, the platform, and self-hosting.
We also added a Sentry integration for observability and "Regional Invocations" for connecting to a Function in one particular region (useful if you want to execute a Function close to your database).
I'm just clocking off but the engineer who shipped this is waking up and will be around for any technical discussion.
- KRAKRISMOTT 3y agoDo you support Prisma? I don't recommend using Drizzle because their migrations tool is completely proprietary and closed source, but they bundle it with their open source offering in a bait and switch.
- laktek 3y agoI haven't tried Prisma myself, but hopefully this guide should work with Edge Functions with npm https://supabase.com/partners/integrations/prisma https://supabase.com/partners/integrations/prisma
- willsmith72 3y agoThat's not talking about edge functions specifically though is it? Surely there are extra steps required If not, I'm shocked and very impressed. I wouldn't have expected prisma to work at all
- sorenbs 3y agoPrisma is going to significantly improve support for edge functions soon. We are compiling our Query Engine to WASM, and have already added support for Serverless APIs from PlanetScale and Neon. You can fill out the survey here if you'd like early access to this: https://github.com/prisma/prisma/issues/21394 https://github.com/prisma/prisma/issues/21394 We'll make some noice about this together with Supabase when it is ready, so you won't miss it :-)
- LorenzoGood 3y agoIs GraphQL still used internally?
- sorenbs 3y agoWe changed the wire protocol in Prisma 4.11. You can read about the significant performance improvements here: https://www.prisma.io/blog/prisma-5-f66prwkjx72s https://www.prisma.io/blog/prisma-5-f66prwkjx72s
- LorenzoGood 3y agoThanks
- meekaaku 3y agoDoes prisma support database level joins now?
- andrew_ 3y agodo yourself a favor and ditch Prisma. It's a bloody mess of a project and codebase. I recommend https://github.com/drizzle-team/drizzle-orm https://github.com/drizzle-team/drizzle-orm to anyone that'll listen.
- sorenbs 3y agoIf anybody has problems with Prisma, please reach out to me on Twitter. DMs open: https://twitter.com/sorenbs https://twitter.com/sorenbs
- andrew_ 3y agoThere's roughly 2900 issues still open from people that are having problems with Prisma https://github.com/prisma/prisma/issues https://github.com/prisma/prisma/issues