2 ms·
Yes! My pet peeve with public APIs are DTOs that are like this! "This is an array of strings, but it could be an object. If it's an object it will have this ke
by Rapzid 6y ago
Yes! My pet peeve with public APIs are DTOs that are like this!
"This is an array of strings, but it could be an object. If it's an object it will have this key and based on the name of the key it's this type. But it could also have or not have this other key and..."
ARghhhh! You can tell what kinda language the back-end was written in with that crap because while TypeScript can actually type most of that stuff it's a huge mess in something like C#, Golang, Java, etc.