balena-io / pinejs

Generate rest APIs from natural language models
Apache License 2.0
63 stars 11 forks source link

Handling typing changes of @types/pg #702

Closed fisehara closed 12 months ago

fisehara commented 12 months ago

rowCount can be NULL in the case of PG returning from LOCK

Refernece: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/66990 https://github.com/brianc/node-postgres/pull/2967

In pinejs the case is handled and as of now we don't want to populate a breaking change by transparently push the types to callers.

Change-type: patch