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

feat: auto detect connectiontype #424

Merged
merged 9 commits into from
Nov 14, 2024
Merged

Conversation

AtzeDeVries
Copy link
Contributor

@AtzeDeVries AtzeDeVries commented Nov 11, 2024

fixes: #423

Tests need to be added. Looking for some input on if this is a valid idea.

This is a preview PR for a simple attempt to detect connection socket
type. This will not break the current API.

* tests are not added yet.

fixes: #423
@AtzeDeVries AtzeDeVries changed the title feat auto detect connectiontype feat: auto detect connectiontype Nov 11, 2024
hawi74
hawi74 previously approved these changes Nov 12, 2024
bootstrap.go Show resolved Hide resolved
@AtzeDeVries AtzeDeVries requested a review from hawi74 November 14, 2024 09:07
hawi74
hawi74 previously approved these changes Nov 14, 2024
@hawi74 hawi74 self-requested a review November 14, 2024 09:11
bootstrap.go Outdated Show resolved Hide resolved
Co-authored-by: Filip Stawicki <[email protected]>
@AtzeDeVries AtzeDeVries requested a review from hawi74 November 14, 2024 09:23
bootstrap.go Outdated Show resolved Hide resolved
Copy link

@hadrienk hadrienk left a comment

Choose a reason for hiding this comment

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

This is nice. Should we do the same for DSD?

@AtzeDeVries
Copy link
Contributor Author

This is nice. Should we do the same for DSD?

I dont think a connectionType is used for DSD

@AtzeDeVries AtzeDeVries merged commit 59fe6e7 into main Nov 14, 2024
19 checks passed
@AtzeDeVries AtzeDeVries deleted the feat-auto-detect-connectiontype branch November 14, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Library should autodetect when a UNIX socket or HTTP is used
5 participants