Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ForeverAPadawan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Ask HN: How to get the safe retry exponential and jitter values? [Microservices]
1 points
by
ForeverAPadawan
5y ago
|
0 comments
2.
▲
Ask: We use Rest API in our SPAs but famous SPAs don’t follow the norm
4 points
by
ForeverAPadawan
6y ago
|
0 comments
3.
▲
by
ForeverAPadawan
6y ago
Yes I'm sure. The team that I joined surprisingly writes very little logic. In order to implement a JSON GET and POST to one endpoint, they had to write 186 lines of code and unit tests so something is clearly wrong! Even just being sm
4.
▲
by
ForeverAPadawan
6y ago
We don't use GraphQL. I never heard of QuickType before so thanks for that.
5.
▲
by
ForeverAPadawan
6y ago
Thanks for you reply. Yes, the answer to your question is to auto-generate the client. But as I mentioned, the current generators has drawbacks. They are buggy, produces ugly code, and hard to customize. How do you test that the client can
6.
▲
by
ForeverAPadawan
6y ago
AutoRest is one of those buggy generators that I mentioned. I agree that generated clients are ugly which is one reason why I'm hesitant. On the other hand, generators saves time and doesn't need to be tested (If you can trust the
7.
▲
by
ForeverAPadawan
6y ago
You mean at runtime? We use a type-safe language and prefer to keep it that way
8.
▲
Ask HN: Should we waste hours writing REST API clients?
3 points
by
ForeverAPadawan
6y ago
|
13 comments