-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat(source-connection-string): Postgres connection string configuration #27559
Conversation
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
const sourceFieldToElement = (field: SourceFieldConfig, sourceConfig: SourceConfig, lastValue?: any): JSX.Element => { | ||
if (field.type === 'text' && field.name === 'connection_string') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally field is just determined by "type" but fine leaving this for now and refactoring later if we have a bunch of conditionals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
…ion (#27559) Co-authored-by: Eric Duong <[email protected]>
Problem
Provides a faster way to provide a postgres connection string which can be added to other db providers easily. It avoids users from input each field manually and instead attempts to autofill every other field once a valid connection string is found.
De-risked by not being manditory and not attempting to do 2 way data binding between individual fields
Changes
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
Tried multiple different formats of pg connection strings which parse correctly and provide an optional fast-track to get through this config page as fast as possible.