📄️ MapStruct
Imagine a big project with a few dozen APIs, and hundreds of Model → DTO conversions... Doing this manually can quickly create much boilerplate code, be prone to error, and consume a lot of time. Luckily for us, there are multiple object mapping frameworks for Java.
📄️ Logs
Considering we don’t mind printing sensitive information (keys, passwords, etc.), I’ve found it useful to log:
📄️ Normalize Errors Returned
At work, I have plenty of scenarios like: