Skip to content

feat: re-add the ability to override the connector library - #17219

Merged
ephys merged 7 commits into
mainfrom
ephys/module-overrides
Mar 29, 2024
Merged

ephys merged 7 commits into
mainfrom
ephys/module-overrides

Conversation

@ephys

@ephys ephys commented Mar 28, 2024

Copy link
Copy Markdown
Member

Description of Changes

This PR re-introduces the ability to override the connector library.

To avoid any confusion, each option is specific to the dialect being used, and the name reflects the name of the library that is being replaced.

Using dialectModule or dialectModulePath now throws

This PR also refactors the Dialect constructor to unify how dialect options are handled

@ephys
ephys requested a review from a team as a code owner March 28, 2024 15:02
@ephys
ephys requested a review from WikiRik March 28, 2024 15:02
@ephys
ephys force-pushed the ephys/module-overrides branch from 89b274f to 5ad6177 Compare March 28, 2024 16:49
Comment thread .husky/pre-commit Resolved
Comment thread dev/delete-changelog.mjs Fixed
Comment thread packages/db2/src/connection-manager.ts Resolved

@WikiRik WikiRik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take another look at the connection manager changes after you've worked on Luke's suggestion

Comment thread packages/core/src/sequelize.js Resolved
Comment thread packages/core/src/sequelize.js Resolved
Comment thread packages/snowflake/src/dialect.ts Resolved
@ephys
ephys requested review from WikiRik and lohart13 March 29, 2024 09:56

@WikiRik WikiRik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ephys
ephys merged commit b3c3362 into main Mar 29, 2024
@ephys
ephys deleted the ephys/module-overrides branch March 29, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To document

Development

Successfully merging this pull request may close these issues.

4 participants