Skip to content

Please stop setting .Promise to avoid "passing a custom promise client/pool deprecated" #847

@kapouer

Description

@kapouer

Using loopback-connector-postgresql 8.0.5,
and pg@8.17.0 and later (on nodejs linux x64 24.13.0), we get

Passing a custom Promise implementation to the Client/Pool constructor is deprecated and will be removed in a future version

This comes from
https://github.com/brianc/node-postgres/blob/d80d883944d818234b09f85b3844061ae2d9b906/packages/pg/lib/client.js#L60
and

this.clientConfig.Promise = Promise;

Dropping entirely bluebird might be a good idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions