3 ms·
Honestly I think your best bet for this is to have a predictable failure or degenerate input (empty body for post etc) and then write a test that hits all your
by migf 3y ago
Honestly I think your best bet for this is to have a predictable failure or degenerate input (empty body for post etc) and then write a test that hits all your endpoints in a docker container.
- javcasas 3y agoSo the plan is code a global try/catch, maybe write an e2e test and hope for the best? Sounds foolproof. I'll continue not doing decorators.