Create CommandRouter and CommandHandler to execute request #206

Merged
lars.winzer merged 12 commits from feat/14-commandrouter-and-commandhandler into main 2026-03-26 18:23:19 +01:00
lars.winzer commented 2026-03-26 18:21:50 +01:00 (Migrated from git.scicore.unibas.ch)

Added CommandHandler interface all handlers must implement. Is generic to avoid cast.

Added CommandRouter to route requests to matching CommandHandler .

Converted runtime errors (incorrect Request passed to the wrong CommandHandler) into compile-time exceptions.

Closes #14

Added `CommandHandler` interface all handlers must implement. Is generic to avoid cast. Added `CommandRouter` to route requests to matching `CommandHandler` . Converted runtime errors (incorrect `Request` passed to the wrong `CommandHandler`) into compile-time exceptions. Closes #14
lars.winzer (Migrated from git.scicore.unibas.ch) scheduled this pull request to auto merge when all checks succeed 2026-03-26 18:21:56 +01:00
lars.winzer commented 2026-03-26 18:22:20 +01:00 (Migrated from git.scicore.unibas.ch)

changed the description

changed the description
lars.winzer commented 2026-03-26 18:23:19 +01:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 4b187fac27

mentioned in commit 4b187fac27461ea958f8254fd8a81e4d8a09599c
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 4b187fac27 into main 2026-03-26 18:23:19 +01:00
lars.winzer commented 2026-03-26 18:23:53 +01:00 (Migrated from git.scicore.unibas.ch)

mentioned in issue #17

mentioned in issue #17
lars.winzer commented 2026-03-26 18:24:19 +01:00 (Migrated from git.scicore.unibas.ch)

mentioned in task #14

mentioned in task #14
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#206