Skip to content
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

ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ses instructeurs changent #10889

Conversation

tchak
Copy link
Member

@tchak tchak commented Oct 3, 2024

No description provided.

@tchak tchak changed the title ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ces instructeurs changent ETQ intégrateur d’API, je veux que le dossier soit remonté comme modifié quand ses instructeurs changent Oct 3, 2024
@tchak tchak force-pushed the fix-dossier-follow-should-bump-updated-at branch from d3a4a94 to dcd1fc3 Compare October 3, 2024 11:14
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.68%. Comparing base (5879d54) to head (25977fd).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10889   +/-   ##
=======================================
  Coverage   84.68%   84.68%           
=======================================
  Files        1130     1130           
  Lines       25068    25068           
  Branches     4700     4700           
=======================================
  Hits        21229    21229           
  Misses       3839     3839           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@colinux colinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sinon ajouter touch: true sur le Follow#belongs_to :dossier fait pas la même chose ? Je trouve hyper risqué de le coupler à des actions de modèle (ou controller) explicitement

On considère finalement que c'est pas breaking change ? D'un autre côté je me dis que ça arrive pas très souvent ce genre de manip et au pire ça déclenche un refetch du dossier

@tchak
Copy link
Member Author

tchak commented Oct 3, 2024

@colinux Je ne suis pas convaincu que touch sur une relation fonctionne si on ne change pas la relation mais le modèle lié. Mais je vais vérifier.

On considère finalement que c'est pas breaking change ? D'un autre côté je me dis que ça arrive pas très souvent ce genre de manip et au pire ça déclenche un refetch du dossier

👍

@tchak tchak force-pushed the fix-dossier-follow-should-bump-updated-at branch from dcd1fc3 to 25977fd Compare October 3, 2024 16:10
@tchak
Copy link
Member Author

tchak commented Oct 3, 2024

@colinux ça marche très bien avec touch: true 🎉

@tchak tchak added this pull request to the merge queue Oct 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 4, 2024
@tchak tchak added this pull request to the merge queue Oct 5, 2024
Merged via the queue into demarches-simplifiees:main with commit 70699a6 Oct 5, 2024
18 checks passed
@tchak tchak deleted the fix-dossier-follow-should-bump-updated-at branch October 5, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants