Skip to content

Refactor update_planos to ensure proper transaction handling#221

Merged
edulauer merged 1 commit intomainfrom
issue-220
Aug 6, 2025
Merged

Refactor update_planos to ensure proper transaction handling#221
edulauer merged 1 commit intomainfrom
issue-220

Conversation

@edulauer
Copy link
Member

@edulauer edulauer commented Aug 5, 2025

fix #220

  • Add session.flush() to push changes to DB before ending transaction block
  • Place session.refresh outside the session.begin() block to avoid persitent instance errors

@edulauer edulauer merged commit 423c722 into main Aug 6, 2025
1 check passed
@edulauer edulauer deleted the issue-220 branch October 8, 2025 18: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.

Erro 500 da API na atualização de alguns planos de trabalho

1 participant