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

Add a cfg::BranchConfig alias for cfg::DatabaseConfig #6984

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

msullivan
Copy link
Member

If I had remembered this before the 5.0 branch cut, I'd have made
DatabaseConfig abstract and made BranchConfig a concrete subtype,
which would have been generally more satisfying (actual type is
BranchConfig, IS works with either), but this version is much safer
to patch in.

Some fixes were needed to make creating a standard library alias work.

If I had remembered this *before* the 5.0 branch cut, I'd have made
DatabaseConfig abstract and made BranchConfig a concrete subtype,
which would have been generally more satisfying (actual type is
BranchConfig, `IS` works with either), but this version is much safer
to patch in.

Some fixes were needed to make creating a standard library alias work.
@msullivan msullivan merged commit 40317e2 into master Mar 6, 2024
23 checks passed
@msullivan msullivan deleted the configure-branch-2 branch March 6, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants