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.
This pull request introduces several enhancements and bug fixes to the CommBank-Server project. The changes aim to improve the application's functionality, performance, and maintainability.
Key Changes:
Package Updates: Updated several package references to their latest versions, including Newtonsoft.Json, BCrypt.Net-Next, Microsoft.Extensions.DependencyInjection, and MongoDB.Driver. This ensures compatibility with the latest features and security patches.
Refactoring in GoalController: Simplified the constructor of GoalController by removing the dependency on IUsersService, streamlining the controller's initialization process. This change reduces the controller's complexity and improves testability.
Enhanced Goal Model: Added an Icon property to the Goal model, allowing for the association of icons with goals. This enhancement supports a more visually appealing and user-friendly interface.
Secrets Configuration: Updated the Secrets.json file with a new MongoDB connection string, ensuring secure and reliable database connectivity.
Service Layer Refactoring: Made minor adjustments to the GoalService and IGoalsService interfaces, improving the service layer's design and maintainability.
Impact:
Performance: The updated packages and refactored code should result in improved application performance.
Security: The use of the latest BCrypt.Net-Next package enhances password hashing security.
Usability: The addition of the Icon property to the Goal model supports a more intuitive user interface.