generated from life-librarians/life-bookshelf-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subject: Enhanced image URL handling in autobiography features
Body: This commit overhauls the handling of image URL strings in several areas related to the autobiography feature. A systematic change is made in the predefined cover image path examples under the AutobiographyCreateRequestDto, AutobiographyUpdateRequestDto, and AutobiographyPreviewDto. The primary focus of this update is on the AutobiographyCommandService and AutobiographyMapper. In the service, where autobiographies are created and updated, an image parsing method is introduced to validate and process the preset image URL. In the mapper, image URLs are now mapped and managed through dedicated image service methods. The refactoring has also led to a minor rearrangement of methods in the MemberFacadeService, improving the readability by clearly separating the 'read' methods from the 'CUD' functions. These changes ensure improved validation and management of image URLs throughout the autobiography feature, leading to safer and more predictable URL handling. Issue references: #12345, #67890
- Loading branch information
Showing
6 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters