loopbackio/loopback-connector-postgresql

#456 causes multiple major versions of loopback-connector

billinghamj opened this issue · 3 comments

Opening this issue as requested #456 (comment)

Following #456, the latest version of loopback-connector-postgresql refers to loopback-connector v5, but the latest version of loopback-datasource-juggler refers to loopback-connector v4, resulting in two different versions having to be installed at the same time.

It seems it's necessary to release a new version of loopback-datasource-juggler with updated dependencies to address this.

@bajtos, could you please take a look? Thanks.

@billinghamj in loopbackio/loopback-connector#181 (comment), you wrote:

it seems like a fairly big problem to have two incompatible versions running together?

As far as I know, it's fine to have multiple versions of the same module installed in the same project. In LoopBack, we go quite far to ensure our code is designed to handle multiple versions of the same module installed.

Is there any particular issue you are running into?

Having said that, I agree we should update loopback-datasource-juggler to use the latest version of loopback-connector too, I'll open a pull request soon.

(UPDATE) You can find the pull request here: loopbackio/loopback-datasource-juggler#1870

No particular issue, just the concern that loopback is pretty fragile in our stack and I want to avoid the risk

Thanks for updating it! :)