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

TransactionMut::apply_update - return an error instead of panics #490

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

Horusiath
Copy link
Collaborator

This PR changes signature of TransactionMut::apply_update -> now it returns a result that might be an error. Previously we know about at least one place that was throwing a panic, which is a disaster in scenarios when we apply updates on the server side.

@Horusiath Horusiath merged commit c0e90b1 into y-crdt:main Aug 27, 2024
8 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.

1 participant