-
Notifications
You must be signed in to change notification settings - Fork 6
Update java-server app to Ditto 5.0.0-java GA version
#226
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
Conversation
…service/DittoTaskService.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
# Conflicts: # java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java # java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoTaskService.java
…service/DittoTaskService.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
# Conflicts: # java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java # java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoTaskService.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Ditto SDK from version 5.0.0-preview.3 to the GA version 5.0.0-java and handles the API breaking change where DittoError has been renamed to DittoException.
Key Changes:
- Updated dependency versions in build.gradle.kts from preview to GA release
- Replaced all
DittoErrorexception references withDittoException - Added exception handling for newly-checked exceptions in data access methods
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| build.gradle.kts | Updated ditto-java and ditto-binaries dependencies from 5.0.0-preview.3 to 5.0.0-java |
| DittoService.java | Replaced DittoError with DittoException, added exception handling in setupAndObserveSyncState and itemToTask methods, minor code formatting changes |
| DittoTaskService.java | Replaced DittoError with DittoException in catch blocks, added exception handling to itemToTask method, fixed whitespace formatting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java
Outdated
Show resolved
Hide resolved
java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java
Outdated
Show resolved
Hide resolved
java-server/src/main/java/com/ditto/example/spring/quickstart/service/DittoService.java
Show resolved
Hide resolved
4afaa10 to
3c728f9
Compare
376a6e4 to
bda88db
Compare
This includes the changes to handle the renamed
DittoExceptionAPI.