-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(action): ajoute modification action #1340
Conversation
ef2ce11
to
ef619a2
Compare
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.
Désolé c'est copieux, on peut se réserver un créneau pour faire les modifs en pair si tu veux
src/domain/action/action.ts
Outdated
const contenu = infosActionAMettreAJour.contenu ?? action.contenu | ||
const description = | ||
infosActionAMettreAJour.description ?? action.description | ||
const dateFinReelle = this.mettreAJourLaDateDeFinReelle( |
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.
La méthode vient pas de toi, mais en regardant son code je questionne la lisibilité de son implémentation. On comprend pas trop la règle métier en la lisant je pense qu'elle peut être simplifiée
src/application/commands/action/update-action.command.handler.ts
Outdated
Show resolved
Hide resolved
test/application/commands/action/update-action.command.handler.test.ts
Outdated
Show resolved
Hide resolved
PS : Sonar bug, il met 4 new issues c'est pour 4 tests unitaires il détecte pas les expect je sais pas pourquoi. On peut ignorer je pense |
PS 2 : le nom du commit "ajoute modification" -> "modifie une action" |
4c8bf69
to
eaf5564
Compare
|
No description provided.