issue-wanted icon indicating copy to clipboard operation
issue-wanted copied to clipboard

Endpoint should return non-polymorphic data types

Open vrom911 opened this issue 6 years ago • 2 comments

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 avatar Aug 23 '19 20:08 vrom911

I will fix this. I’m on a flight right now, but I will get to this ASAP.

On Fri, Aug 23, 2019 at 1:33 PM Veronika Romashkina < [email protected]> wrote:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kowainik/issue-wanted/issues/145?email_source=notifications&email_token=AFT2I4RPC63ZKDYAA6EMFMTQGBCSTA5CNFSM4IPDDIW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHD6LGQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AFT2I4QP7WYGIIQDALPTLBLQGBCSTANCNFSM4IPDDIWQ .

rashadg1030 avatar Aug 23 '19 20:08 rashadg1030

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 :slightly_smiling_face:

vrom911 avatar Aug 23 '19 20:08 vrom911