-
-
Notifications
You must be signed in to change notification settings - Fork 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
Fixes and refactoring #65
Conversation
refactor: componentize mentor services
refactor: componentize testimony services
refactor: componetize User services
refactor: import services on module files
refactor: added missing descriptions
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fiquei com dúvida a respeito das listagens: elas não deveriam ser paginafas?
constructor(private userRepository: UserRepository) {} | ||
|
||
async execute(): Promise<UserEntity[]> { | ||
return this.userRepository.findAllUsers(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Não deveria ser paginado?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deveriam sim, mas ainda não apliquei. Vou tentar fazer amanhã à tarde.
Fixes:
1- Now testimonies updates when mentors data updates.
2 - Some missing swagger endpoints descriptions were added.
3 - Moved "templates" folder inside mail module folder (trying to fix the empty body email bug)
Refactors: The service files that were with all its services (functions) inside them now were divided into individual service files with only one service(function) inside.