Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: simply connection string builder class so it is easier to update the class #221

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

karenc-bq
Copy link
Contributor

@karenc-bq karenc-bq commented Jan 21, 2025

Summary

The current implementation is bloated with repetitive and verbose code. Adding a new connection variable requires adding 2 new methods, 2 new variables, and 1 new if condition.
After this change we only need to add 1 method for new variables.
This change also updates the constructor so requires parameters must be passed in through the constructor, thus reducing number of checks required.

Description

Review Status

  • This is ready for review
  • This is complete

Additional Reviewers

@karenc-bq karenc-bq force-pushed the refactor/connection_string_builder branch 4 times, most recently from 1f6ad2d to a0396b6 Compare January 22, 2025 18:52
@karenc-bq karenc-bq force-pushed the refactor/connection_string_builder branch from a0396b6 to ce4ab90 Compare January 22, 2025 20:59
@karenc-bq karenc-bq merged commit 45f0904 into main Jan 23, 2025
7 checks passed
@karenc-bq karenc-bq deleted the refactor/connection_string_builder branch January 23, 2025 01:46
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