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

BCF-2640: implicit evm schema #10754

Closed
wants to merge 8 commits into from
Closed

Conversation

krehermann
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

return
}

type ConnectionOpt func(*string)
Copy link
Contributor

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))
Copy link
Contributor

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?

@krehermann krehermann force-pushed the BCF-2640-implicit-schema branch from c2ee8b6 to 1526b81 Compare September 22, 2023 19:17
@krehermann krehermann force-pushed the BCF-2640-implicit-schema branch from 06b3440 to a8332ad Compare September 26, 2023 18:14
@krehermann krehermann force-pushed the BCF-2640-implicit-schema branch from a8332ad to 832e137 Compare September 26, 2023 19:46
@krehermann krehermann changed the title hacking at unique DB for evm relayer BCF-2640: implicit evm schema Sep 26, 2023
@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 0.0% 0.0% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

… db boundaries. hint: they are and it's painful
@krehermann krehermann force-pushed the BCF-2640-implicit-schema branch from 4d30517 to a86f233 Compare September 27, 2023 17:55
Copy link
Contributor

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.

@github-actions github-actions bot added the Stale label Dec 11, 2023
@github-actions github-actions bot closed this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants