-
Notifications
You must be signed in to change notification settings - Fork 0
Catalogs module implementation #15
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7d4c7fb
feat: implement Catalogs module with complete CRUD operations
d56dbab
Merge master into catalogs_module_implementation
3266102
remove arquivo desnecessario
1498f4f
fix: correct test data for Catalogs module requests
914fc23
fix(catalogs): correct authorization and API response format
859bbe3
refactor(catalogs): improve API consistency and service name validation
2cef125
refactor(catalogs): code quality improvements and test infrastructure…
c163a94
refactor(catalogs): apply code review suggestions for test quality
9632cbc
refactor(catalogs): apply comprehensive code review suggestions
7bf80df
docs: remove redundant README_TESTS.md from Catalogs module
7d2a9b4
fix(catalogs): improve test assertions and repository name normalization
db3ee27
refactor(catalogs): apply code review round 6 - consistency and robus…
73658d7
refactor(catalogs): apply code review round 7 - validation, diagnosti…
89bd2a8
refactor(catalogs): add input validation guards and batch query optim…
87f6d1f
test(catalogs): improve domain test coverage and robustness
ff80800
refactor(catalogs): fix validation, routing, and E2E test DTOs
bdf8248
chore: ignore launchSettings.json and fix empty GUID validation
840219d
refactor: improve code structure and standardization
af69fab
refactor: reorganize Catalogs handlers to match Users module structure
91d7803
docs: atualizar documentação dos módulos Catalogs e Location
bff62bd
style: aplicar dotnet format e corrigir imports dos Commands
60f3532
fix: adicionar validações Guid.Empty e corrigir documentação/testes
3fb3473
mais review
704c688
niitpicksom
2c26120
refactor: improve repository consistency and builder pattern
e51cb44
refactor: improve markdown formatting and test assertions
ccc633a
refactor: use nullable int for ServiceBuilder._displayOrder
943cfc0
refactor: add defensive length limits and improve test coverage
8cc6d40
style: fix whitespace formatting issues
231c608
test: strengthen E2E test assertions and improve determinism
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(catalogs): apply comprehensive code review suggestions
API Improvements: - Change all update/delete/activate/deactivate endpoints to return 204 NoContent - Change ValidateServicesAsync parameter from Guid[] to IReadOnlyCollection<Guid> - Remove unused IServiceProvider from CatalogsModuleApi constructor Test Quality: - Tighten invalid-name test assertion to verify error message contains 'name' - Call base.OnModuleInitializeAsync to preserve future base setup in integration tests - Future-proof test infrastructure initialization Performance & Documentation: - Optimize ValidateServicesAsync to deduplicate input IDs (avoid duplicate processing) - Add performance note to GetServiceCategoriesWithCountQueryHandler about N+1 pattern - Add unit-of-work pattern note to ServiceRepository write methods - Improve DeleteServiceCommandHandler TODO with detailed cross-module check guidance Code Maintainability: - Extract validation constants to ServiceCategoryValidation and ServiceValidation classes - Add XML summary comments to all service commands for better discoverability - Centralize max length values to avoid duplication and drift All 94 unit tests and 30 integration tests passing.
- Loading branch information
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.