refactor-controllers #5

Merged
weirdcat merged 5 commits from refactor-controllers into main 2025-07-17 22:39:20 +03:00
Owner
No description provided.
weirdcat added 5 commits 2025-07-17 22:38:56 +03:00
feat: ControllerMethod struct for storing data about an individual API endpoint;
feat: controllerImpl struct for setting up a controller;
feat: GetRequest method for parsing and validating a request with automatic abortion on binding/validation errors
refactor: GetRequest now panics on missing client_info since it is only supposed to be used on handlers behind AuthMiddleware
feat: setup DI for controllers;
refactor: marked old utils and routes package parts as deprecated
fix: swagger docs work now;
chore: remove incomplete account and profile controllers;
fix: correct client info type in request middleware
Reviewed-on: #4
weirdcat merged commit f2274f6c58 into main 2025-07-17 22:39:20 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weirdcat/easywish#5