-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
BCF-2640: implicit evm schema #10754
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
core/services/pg/locked_db.go
Outdated
return | ||
} | ||
|
||
type ConnectionOpt func(*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.
This shouldn't just operate on the uri IMO, it should operate on something higher level, like a LockedDBConfig that's been turned into a struct.
} | ||
enc, err := json.Marshal(conn) | ||
require.NoError(t, err) | ||
db, err := sqlx.Open(string(dialects.TransactionWrappedPostgres), string(enc)) |
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.
Not sure I understand this... Why can't we just modify the connection string and add the schema to it here, rather than passing in a json blob?
c2ee8b6
to
1526b81
Compare
06b3440
to
a8332ad
Compare
a8332ad
to
832e137
Compare
… db boundaries. hint: they are and it's painful
4d30517
to
a86f233
Compare
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
No description provided.