littermap / littermap-aws-backend

Cloud-native backend for the Litter Map application -- (Join us on: https://discord.gg/JvEQMSQaYr)
https://littermap.com
GNU Affero General Public License v3.0
3 stars 2 forks source link

Upgrade porsager/postgres library dependency #7

Open specious opened 2 years ago

specious commented 2 years ago

The library that facilitates access to the postgres database from the backend functions written in nodejs ...

https://github.com/littermap/littermap-aws-backend/blob/1b16f497497bf44da07823314ee00da6207942a6/layers/postgres/nodejs/package.json#L5

... has reached a new major version, and so it makes sense to carefully evaluate what has changed and make careful adjustments to the code that relies on it to work with the new release.

In particular, "Breaking changes from v2 -> v3" mentions that queries are now asynchronous.

specious commented 2 years ago

This may become unnecessary if solving #5 removes any need for a PostgreSQL database.