-
Notifications
You must be signed in to change notification settings - Fork 470
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 Line Processing in ImportUtil to Use Structured Response Format #31237
Closed
Tracked by
#30882
Labels
Comments
jgambarios
added a commit
that referenced
this issue
Jan 31, 2025
jgambarios
added a commit
that referenced
this issue
Feb 1, 2025
…, also error and validation handling.
jgambarios
added a commit
that referenced
this issue
Feb 1, 2025
jgambarios
added a commit
that referenced
this issue
Feb 1, 2025
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 10, 2025
…31294) This PR is the second step in a larger effort to improve error handling and response structures in the `ImportUtil` class. For this phase, we focused specifically on line processing without modifying the existing core logic. ### Changes Overview * Added new structured validation response classes for better error handling * Introduced `LineImportResult` to encapsulate the import line results * Created converter to maintain backward compatibility with existing code * Improved line importing validation code organization and readability * Added comprehensive JavaDoc documentation ### What's Not Included While working on this code, we identified several potential improvements that were intentionally left for future iterations: * Core import logic remains unchanged * Legacy response format is still maintained for backward compatibility * Existing error handling in other parts of the import process * Performance optimizations opportunities * Potential refactoring of data structures and helper classes This PR is related to: #31237
6 tasks
IQA PASSEDTested on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Parent Issue
#30882
Task
Refactor the line processing logic in
ImportUtil.importLine()
to use a structured response format while maintaining backward compatibility. This will improve error handling and make the import results more consistent and maintainable.Technical Details:
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
Acceptance Criteria
The text was updated successfully, but these errors were encountered: