Skip to content

Add Note to Budget Command#183

Open
Kimiti4 wants to merge 1 commit intoitalanta:mainfrom
Kimiti4:feat/add-budget-note-command
Open

Add Note to Budget Command#183
Kimiti4 wants to merge 1 commit intoitalanta:mainfrom
Kimiti4:feat/add-budget-note-command

Conversation

@Kimiti4
Copy link

@Kimiti4 Kimiti4 commented Nov 29, 2025

This PR will add a new CQRS command and handler to 'Add Note to Budget'.

  • AddNoteToBudgetCommand`: encapsulates the budget ID, content, and creator.

  • AddNoteToBudgetHandler: it will validate pull request (PR) implements a new Command and Handler for adding notes to a budget.

  • AddNoteToBudgetCommand: Encapsulates the budget ID, note content, and creator information.

  • AddNoteToBudgetHandler: Validates the command data and calls the repository to persist the note.

Design Choices:

  • Follows the CQRS pattern for clear command-query separation.
  • Utilizes a repository abstraction for efficient serverless deployment.
  • Designed to scale automatically in a serverless architecture like Firebase Functions.This pull request (PR) implements a new Command and Handler for adding notes to a budget.

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