Refactor response classes to use RequestContext instead of SessionId + request id #220

Merged
lars.winzer merged 5 commits from feat/34-make-response-use-requestcontext into main 2026-03-31 20:50:08 +02:00
lars.winzer commented 2026-03-31 20:42:08 +02:00 (Migrated from git.scicore.unibas.ch)

Refactored Request, ErrorResponse, SuccessResponse and OkResponse to use RequestContext instead of SessionId + request id as parameters.

Refactored SessionReader to pass RequestContext to ErrorResponse upon instantiation.

BREAKING CHANGES: Responses now only require the RequestContext instead of SessionId + request id as parameters.

Closes #34

Refactored `Request`, `ErrorResponse`, `SuccessResponse` and `OkResponse` to use `RequestContext` instead of `SessionId` + request id as parameters. Refactored `SessionReader` to pass `RequestContext` to `ErrorResponse` upon instantiation. BREAKING CHANGES: Responses now only require the RequestContext instead of SessionId + request id as parameters. Closes #34
lars.winzer commented 2026-03-31 20:47:50 +02:00 (Migrated from git.scicore.unibas.ch)

added 1 commit

  • 307c234c - Docs: Fix javaDoc comments to match changes

Compare with previous version

added 1 commit <ul><li>307c234c - Docs: Fix javaDoc comments to match changes</li></ul> [Compare with previous version](/cs108-fs26/Gruppe-13/-/merge_requests/64/diffs?diff_id=14265&start_sha=2ad2981724abdf442b565962ba15d96e641a80f1)
lars.winzer commented 2026-03-31 20:49:31 +02:00 (Migrated from git.scicore.unibas.ch)
Changes made by https://git.scicore.unibas.ch/cs108-fs26/Gruppe-13/-/work_items/30 already paid off
lars.winzer commented 2026-03-31 20:50:08 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 6736345cbe

mentioned in commit 6736345cbeaabae07e38429bfe49dfe793bf74c3
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 6736345cbe into main 2026-03-31 20:50:08 +02:00
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#220