Endpoint should return non-polymorphic data types
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.
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 .
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: