Conversation
|
I just created this PR for feedback. if I get feedback from the member, this PR gonna be closed. I have some questions
please give me a feedback thx 🙏 |
|
thank you @well-balanced for your PR ! Answering your questions:
Yes, basically we need two things for typing an endpoint:
Error should be thrown, don't use try catch, as we have an error handler in error.ts
So, unlike the controller endpoint, calling third party APIs like Github, doesn't need to be documented,however the axios response definitely need to be strongly typed, so.., we just need a regular typescript interface/type here ;)
As for this PR, we can merge it, we just need some small changes, no need to waste your effort by closing it ;) |
|
@ZibanPirate
Could you feedback to me again specifically?
I think file location will be better to be |
|
well, since you already worked on #286 and merged both #290 and #289 , i believe there is no point in leaving this open, so closing ... |
Description
Related issue #277 and also PR #283
implementing below
Type of change