BLOG-56 Align clean architecture #57

Merged
squid merged 3 commits from BLOG-56_align_clean_architecture into main 2025-07-22 23:35:55 +08:00
Owner

Description

  • As the description in the issue

    • Use case should be stateless

      The value unwrapped from web::Data must be Arc type

    • Initializing shouldn't be done in Container
    • Rename the functions as xxx_handler in routes

Package Changes

No response

Screenshots

No response

Reference

Resolves #56

Checklist

  • A milestone is set
  • The related issuse has been linked to this branch
### Description - As the description in the issue > - ~~Use case should be stateless~~ > > The value unwrapped from `web::Data` must be `Arc` type > - Initializing shouldn't be done in Container > - Rename the functions as xxx_handler in routes ### Package Changes _No response_ ### Screenshots _No response_ ### Reference Resolves #56 ### Checklist - [x] A milestone is set - [x] The related issuse has been linked to this branch
squid added this to the 0.2 milestone 2025-07-01 11:36:20 +08:00
squid added 1 commit 2025-07-01 11:36:20 +08:00
BLOG-56 refactor: rename as xxx_handler in routes
Some checks failed
Frontend CI / build (push) Successful in 1m27s
PR Title Check / pr-title-check (pull_request) Failing after 16s
9dcefe90c5
squid added 1 commit 2025-07-01 11:39:55 +08:00
BLOG-56 refactor: make use cases stateless
Some checks failed
Frontend CI / build (push) Successful in 1m27s
PR Title Check / pr-title-check (pull_request) Failing after 16s
5ea5879ad7
squid force-pushed BLOG-56_align_clean_architecture from 5ea5879ad7 to 6a2c35a74a 2025-07-01 12:24:29 +08:00 Compare
squid force-pushed BLOG-56_align_clean_architecture from 6a2c35a74a to 1dc8ca742b 2025-07-01 12:32:33 +08:00 Compare
squid added 1 commit 2025-07-01 12:46:18 +08:00
BLOG-56 refactor: remove redoundent clone
All checks were successful
Frontend CI / build (push) Successful in 1m27s
PR Title Check / pr-title-check (pull_request) Successful in 17s
b1b8fab108
squid changed title from WIP: BLOG-56 refactor: rename as `xxx_handler` in routes to BLOG-56 refactor: rename as `xxx_handler` in routes 2025-07-01 12:47:23 +08:00
zoe was assigned by squid 2025-07-01 12:47:28 +08:00
zoe was unassigned by squid 2025-07-22 23:32:40 +08:00
squid changed title from BLOG-56 refactor: rename as `xxx_handler` in routes to BLOG-56 Align clean architecture 2025-07-22 23:33:50 +08:00
squid merged commit d74107a0f9 into main 2025-07-22 23:35:55 +08:00
Sign in to join this conversation.
No description provided.