Skip to content

Feature/delete application - #98

Merged
Zama15 merged 3 commits into
ReUC-Team:devfrom
Zama15:feature/delete-application
Nov 24, 2025
Merged

Feature/delete application#98
Zama15 merged 3 commits into
ReUC-Team:devfrom
Zama15:feature/delete-application

Conversation

@Zama15

@Zama15 Zama15 commented Nov 24, 2025

Copy link
Copy Markdown
Collaborator

Implement soft delete architecture

Description:

Summary

Implements logical deletion (Soft Delete) for the Application entity to ensure data retention for audit trails while allowing users to manage their drafts.

Technical Changes

  • Infrastructure:
    • Schema migration adding deletedAt timestamp and index to the Application entity.
    • Refactored Application and Project repositories to enforce deletedAt: null filtering on all read/update operations, ensuring data consistency across relations.
  • Domain & Application:
    • Implemented deletion use case with strict constraints: ownership validation and state verification (preventing deletion of Applications already converted to Projects).
  • Presentation:
    • Exposed DELETE /application/:uuid endpoints for both Web and Mobile clients.
  • Documentation:
    • Updated OpenAPI specifications to reflect new endpoints and response schemas.

@Zama15
Zama15 merged commit 2e53670 into ReUC-Team:dev Nov 24, 2025
0 of 2 checks passed
@Zama15
Zama15 deleted the feature/delete-application branch November 24, 2025 02:36
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.

1 participant