useplunk / plunk

The Open-Source Email Platform
https://www.useplunk.com
GNU Affero General Public License v3.0
2.66k stars 117 forks source link

add TypedSQL feature for Prisma #85

Closed jharrell closed 4 days ago

jharrell commented 6 days ago

Hello there!

I'm Jon from Prisma. With Prisma 5.19 we released TypedSQL in Preview. This feature makes many uses of $queryRaw obsolete and adds full type safety.

I went ahead and made a few changes to the codebase to use this new feature. Perhaps obviously I'm not very deep into the Plunk codebase, so please let me know if I've missed the mark here.

Thanks for looking!

driaug commented 4 days ago

This looks wonderful!

Could you please upgrade the version in the main package.json to 1.0.6 and push that change.

Thank you so much for your contribution.

jharrell commented 4 days ago

@driaug done, thank you again!