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 offline mode handling for improved code clarity and maintainability #27

Merged
merged 4 commits into from
Dec 29, 2024

Conversation

neozhu
Copy link
Owner

@neozhu neozhu commented Dec 29, 2024

This PR reorganizes and optimizes the offline mode logic in ProductServiceProxy. It moves the create/update/delete handling into dedicated classes (e.g., OfflineProductSyncService), and separates caching operations into a standalone ProductCacheService. This approach streamlines the code by clarifying each service’s responsibility, reducing duplication, and making the overall solution easier to maintain and extend.

@neozhu neozhu merged commit 46b5c58 into main Dec 29, 2024
5 checks passed
@neozhu neozhu deleted the improve/productservieproxy branch December 29, 2024 09:04
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

1 participant