-
Notifications
You must be signed in to change notification settings - Fork 328
Description
Hi @porsager ! 👋 Again, thanks for the continued effort on this library by yourself and team, really great!!
One thing that I've seen recently is squid, which promises, among other things:
Validate SQL queries in JavaScript and TypeScript code against your schema at build time 🚀
This is achieved by leveraging another library by Andy Wermke, postguard
I wanted to test the waters as to how open the Postgres.js project is to some kind of built-in static analysis of queries, to make sure that queries that get built can also run. I suppose the easiest would be TypeScript here.
cc @Minigugus
Alternatives considered:
One alternative that I've also considered here is to "only" improve the error messaging when things go wrong at runtime with a query: #450