Skip to content

FIX: Remove envelope response pattern (#77)#92

Open
YektaY wants to merge 1 commit intomainfrom
yektay/remove-envelope
Open

FIX: Remove envelope response pattern (#77)#92
YektaY wants to merge 1 commit intomainfrom
yektay/remove-envelope

Conversation

@YektaY
Copy link
Copy Markdown
Collaborator

@YektaY YektaY commented Apr 22, 2026

Description

Backend react-squirrel-backend#32 removes the {errorCode, errorMessage, payload} envelope. Every endpoint now returns its DTO (or primitive) directly, and errors use FastAPI's default {"detail": "..."} shape with HTTP status as the authoritative success signal.

Motivation

Closes #77

Pre-merge checklist

  • Code works interactively
  • Code follows the style guide
  • Code contains descriptive docstrings
  • New/changed functions and methods are covered in the test suite where possible
  • Test suite passes locally
  • Test suite passes on GitHub Actions

@YektaY YektaY self-assigned this Apr 22, 2026
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.

BUG: Remove Envelope Pattern

1 participant