refactor(admin): migrate to non-DTO pattern for cleaner architecture#83
Merged
Conversation
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.45.0 to 0.52.0. - [Commits](golang/crypto@v0.45.0...v0.52.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.52.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…x/crypto-0.52.0 deps: bump golang.org/x/crypto from 0.45.0 to 0.52.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.52.0 to 0.54.0. - [Commits](golang/crypto@v0.52.0...v0.54.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.54.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…x/crypto-0.54.0 deps: bump golang.org/x/crypto from 0.52.0 to 0.54.0
Project is in v0.0.1-rc status.
Unicard v0.0.1 rc
- Separate handler, service, repository, model, validator, jwt, mailer, middleware, utils, and routes into individual files - Remove deprecated strings.Title in favor of golang.org/x/text/cases - Add mutex to otpStore to fix concurrent read/write race condition - Extract all SMTP logic into mailer.go to remove duplication - Add ValidateForgotPasswordRequest to catch invalid email input - Move RateLimitMiddleware to middleware package - Register all auth routes via auth.RegisterRoutes in main.go
- Removed `dto.go` entirely to eliminate the standalone DTO file pattern. - Moved all HTTP request payloads into `handler.go` to keep them localized to their respective handlers. - Consolidated core domain results and view models into a unified `model.go`. - Strengthened clean architecture principles by separating transport objects from database entities.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor(admin): migrate to non-DTO pattern for cleaner architecture
dto.goentirely to eliminate the standalone DTO file pattern.handler.goto keep them localized to their respective handlers.model.go.