prisma-client-rust icon indicating copy to clipboard operation
prisma-client-rust copied to clipboard

Investigate only bundling required database connectors

Open Brendonovich opened this issue 3 years ago • 3 comments

Would probably involve modifying prisma-engines

Brendonovich avatar Apr 21 '22 16:04 Brendonovich

Is there a workaround for this right now? Takes ages to download from within docker

John0x avatar May 02 '22 16:05 John0x

@John0x Not currently, I have to modify prisma-engines to do so and just don't have time to do it right now. You could try utilising docker layer caching and building primsa-client-rust separately to your other dependencies with cargo build -p prisma-client-rust.

Brendonovich avatar May 02 '22 17:05 Brendonovich

Gonna put this on hold again, I just don't have time atm

Brendonovich avatar Jul 18 '22 13:07 Brendonovich

Issue opened in prisma/prisma

Brendonovich avatar Aug 19 '22 00:08 Brendonovich

I just opened PR prisma/prisma-engines#3157 about separating the sql and monogdb features. I will be interested if they merge it because the Prisma Engines already had a convention to feature gate sql vs monogodb but it just wasn't done properly everywhere.

oscartbeaumont avatar Aug 30 '22 20:08 oscartbeaumont

This now works on the feature-gate-dbs branch. Will be doing testing to see if it's suitable for release.

Brendonovich avatar Sep 12 '22 07:09 Brendonovich

72dbb636473d3b93ede4fc99361b4cb8533dd72b

Brendonovich avatar Sep 28 '22 06:09 Brendonovich