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 Error Handling #24

Merged
merged 6 commits into from
Feb 23, 2024
Merged

Refactor Error Handling #24

merged 6 commits into from
Feb 23, 2024

Conversation

PineappleIOnic
Copy link
Member

@PineappleIOnic PineappleIOnic commented Feb 19, 2024

This PR refactors how Errors are handled to allow for easier error reporting from sources.

This PR must be released as a new minor version to maintain compatibility with previous Appwrite versions.

It starts to move away from the cache being the single source of truth surrounding a migration by allowing both Source and Destination to store an array of errors both encountered. This fixes an issue that made it hard to keep a detailed record of issues that sources ran into as errors are now no longer tied to a specific resource

@PineappleIOnic
Copy link
Member Author

Need to get #26 merged into dev for tests to pass here

@PineappleIOnic PineappleIOnic merged commit 21fc493 into dev Feb 23, 2024
2 checks passed
@PineappleIOnic PineappleIOnic deleted the feat-refactor-error-handling branch February 23, 2024 11:25
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.

4 participants