Skip to content

build: switch to peer dependencies#12

Draft
bchrobot wants to merge 3 commits intoyasserf:mainfrom
bchrobot:build-peer-dependencies
Draft

build: switch to peer dependencies#12
bchrobot wants to merge 3 commits intoyasserf:mainfrom
bchrobot:build-peer-dependencies

Conversation

@bchrobot
Copy link
Copy Markdown
Contributor

@bchrobot bchrobot commented Mar 5, 2022

schemats should be usable against one database type without needing to install the other database as well.

These changes have not been widely tested but I wanted to at least open the door to what peer dependencies could look like.

@yasserf
Copy link
Copy Markdown
Owner

yasserf commented Apr 8, 2022

hey! Thanks for raising. I like the idea, feel like we might want to then publish three packages (one for pg, one for mysql, and then with this change). That way it would still just work via global installs. Thoughts?

@yasserf
Copy link
Copy Markdown
Owner

yasserf commented Jun 26, 2022

@bchrobot revisited this, but I still think for the average install it would be annoying to have to install the specific driver.

But I also see the value in this.. happy to merge in if the idea is voted on/brought on by anyone else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants