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

Refactor replica operations to a top-level type in the API #413

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

djmitche
Copy link
Collaborator

@djmitche djmitche commented Jul 7, 2024

This is the beginning of #372, and makes Operation (formerly ReplicaOp) a top-level type that can be part of the TC API.

ReplicaOp had a few methods related to SyncOp, which is not a public type, so these were not useful in the public API. Those have been removed. However, the taskchampion::storage::ReplicaOp type still exists (now as a type alias) to try to minimize changes to the API. I suspect #372 will be a breaking change, anyway, so this is probably superfluous.

Copy link
Collaborator

@ryneeverett ryneeverett left a comment

Choose a reason for hiding this comment

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

Looks good. The approach you've outlined in #372 seems quite promising and I look forward to it being proven in subsequent PRs.

@djmitche
Copy link
Collaborator Author

Thanks!

@djmitche djmitche merged commit 0958767 into GothenburgBitFactory:main Jul 13, 2024
11 checks passed
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