kowainik / kowainik/issue-wanted
Endpoint should return non-polymorphic data types
Open
api
backend
- Dominant language
- Haskell
- Stars
- 60
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Currently, it returns `WithId x`. It is not possible to work with this on the frontend. I propose that every response should have its own data type, like `IssuesResponse` which would not have any parameters.
This issue is the blocker for further frontend work at the moment.
Contributor guide
Research direction
Start by locating the endpoint that currently returns `WithId x` and inspect how its response is consumed by the frontend. Determine the response types needed for each endpoint, then verify that the affected frontend work can consume them without polymorphic parameters; the issue provides no file or test names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100