Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint should return non-polymorphic data types #145

Open
vrom911 opened this issue Aug 23, 2019 · 2 comments
Open

Endpoint should return non-polymorphic data types #145

vrom911 opened this issue Aug 23, 2019 · 2 comments
Labels
api Endpoints, rest api backend Haskell backend
Milestone

Comments

@vrom911
Copy link
Member

vrom911 commented Aug 23, 2019

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.

@vrom911 vrom911 added api Endpoints, rest api backend Haskell backend labels Aug 23, 2019
@rashadg1030
Copy link
Collaborator

rashadg1030 commented Aug 23, 2019 via email

@vrom911
Copy link
Member Author

vrom911 commented Aug 23, 2019

No rush! I'm going to sleep now anyway, and it's okay if we fix this later. Have a nice flight, and don't worry about it right now 🙂

@chshersh chshersh added this to the Frontend milestone Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Endpoints, rest api backend Haskell backend
Projects
None yet
Development

No branches or pull requests

3 participants