mitgliederverwaltung/lib
Moritz 34aabaec47
All checks were successful
continuous-integration/drone/push Build is passing
refactor: reduce complexity of with_advisory_lock function
Split the complex with_advisory_lock function into smaller, focused
functions to improve readability and reduce cyclomatic complexity:

- with_advisory_lock_in_transaction: Handles case when already in transaction
- with_advisory_lock_new_transaction: Handles case when starting new transaction
- execute_within_transaction: Executes function within transaction
- normalize_fun_result: Normalizes function results to consistent format
- handle_transaction_result: Handles transaction results and sends notifications

This fixes Credo warnings:
- Function body nested too deep (was 3, now max 2)
- Function too complex (was 11, now max 9)
2025-12-15 12:41:25 +01:00
..
accounts fix: request scopes email and profile 2025-12-03 22:02:23 +01:00
membership fix: prevent deadlocks by detecting existing transactions 2025-12-15 12:41:00 +01:00
membership_fees fix: remove unused variable warning in ValidateSameInterval 2025-12-15 12:40:31 +01:00
mv refactor: reduce complexity of with_advisory_lock function 2025-12-15 12:41:25 +01:00
mv_web refactor: migrate MembershipFeeSettingsLive to AshPhoenix.Form 2025-12-12 19:05:41 +01:00
mv.ex Add generated starter app 2025-03-18 15:05:27 +01:00
mv_web.ex feat: migration to phoenix 1.8 - fix formatting 2025-07-17 18:01:14 +02:00