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

Make RelationalTransactionRegistry extensible #280

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

rosslovas
Copy link
Contributor

@rosslovas rosslovas commented Feb 13, 2024

This PR makes it possible to specify a custom IRelationalTransactionRegistry via RelationalStoreConfiguration.

This PR also makes RelationalTransactionRegistry.WriteCurrentTransactions virtual so that you can override Nevermore's implementation to include other useful information.

Breaking changes

ConnectionString and MaxPoolSize are no longer exposed by RelationalTransactionRegistry as they're duplicates of information already available via RelationalStoreConfiguration.

RelationalTransactionRegistry now accepts the max SQL connection pool size via its constructor rather than the entire connection string, as that's all it actually needs.

@rosslovas rosslovas marked this pull request as ready for review February 13, 2024 05:27
@rosslovas rosslovas requested a review from a team as a code owner February 13, 2024 05:27
Copy link
Contributor

@YuKitsune YuKitsune left a comment

Choose a reason for hiding this comment

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

👍

@rosslovas rosslovas merged commit 921eb5b into master Feb 14, 2024
3 checks passed
@rosslovas rosslovas deleted the pet/extensible-RelationalTransactionRegistry branch February 14, 2024 02:18
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.

None yet

2 participants