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

chore: convert database runtime to a oneof to support more connection methods in the future #3499

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

jvmakine
Copy link
Contributor

@jvmakine jvmakine commented Nov 25, 2024

The idea is to have the different ways to do DB connections in the DatabaseRuntime, and then to use that in DB proxies to establish the connection.

@ftl-robot ftl-robot mentioned this pull request Nov 25, 2024
@@ -36,6 +36,11 @@ message Config {
Type type = 4;
}

message DSNDatabaseRuntime {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This generated code is the crux of this change

@jvmakine jvmakine added the skip-proto-breaking PRs with this label will skip the breaking proto check label Nov 25, 2024
@jvmakine jvmakine force-pushed the juho/schema-runtime-resources branch 3 times, most recently from e86d274 to acf9326 Compare November 25, 2024 05:55
@jvmakine jvmakine force-pushed the juho/schema-runtime-resources branch from acf9326 to 87055af Compare November 25, 2024 22:39
@jvmakine jvmakine marked this pull request as ready for review November 25, 2024 22:46
@jvmakine jvmakine requested review from a team and alecthomas as code owners November 25, 2024 22:46
@jvmakine jvmakine requested review from wesbillman and removed request for a team November 25, 2024 22:46
@jvmakine jvmakine merged commit 1abde9c into main Nov 25, 2024
93 checks passed
@jvmakine jvmakine deleted the juho/schema-runtime-resources branch November 25, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-proto-breaking PRs with this label will skip the breaking proto check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants