postguard
postguard copied to clipboard
🐛 Statically validate Postgres SQL queries in JS / TS code and derive schemas.
Hi, Looks like a great tool 👍 Is it possible to use programmatically and without squid? We have a large codebase which uses knex. Changing to use squid is a...
I'm not sure if this is something that postguard handles. I have a table like this: ```sql CREATE TABLE users ( id uuid PRIMARY KEY DEFAULT gen_random_uuid (), name text...
Thanks for writing this library, it's exactly what I was looking for. Is there a way to support column aliases? Here's what I get right now: ``` ✖ Query validation...
Something along those lines: ```js /* pg-lint:disable */ await database.query(sql`...`) ``` or ```js /* pg-lint:disable typechecks */ await database.query(sql`...`) ```
Fail if type cannot be inferred in TypeScript code. So every (?) warning should become an error in strict mode.
Bumps [minimist](https://github.com/minimistjs/minimist) and [mkdirp](https://github.com/isaacs/node-mkdirp). These dependencies needed to be updated together. Updates `minimist` from 1.2.0 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option...
Removes [cacheable-request](https://github.com/jaredwray/cacheable-request). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `cacheable-request` Updates `ava` from 2.4.0 to 5.2.0 Release notes Sourced from...