adelsz / pgtyped

pgTyped - Typesafe SQL in TypeScript
https://pgtyped.dev
MIT License
2.91k stars 94 forks source link

feat: add queryName and queryFile to type error details #584

Open ChetanXpro opened 2 months ago

ChetanXpro commented 2 months ago

This update improves the details provided for query type errors, making it easier to debug issues. When dealing with many files, it can be challenging to pinpoint the exact file and query name where an error occurs.

Addresses https://github.com/adelsz/pgtyped/issues/526

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pgtyped ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 7:19am
domdinnes commented 2 months ago

Hey @adelsz - I'm quite keen to get this in. Let me know if you have any feedback.

domdinnes commented 1 month ago

@adelsz - would you mind taking a look at this. Thank you!