Open hungphan227 opened 2 days ago
I have just made some updates to remove nested if. I guess the code looks good enough and there is no need to apply above stuff.
If / else branching is not ok in scala / functional code when a functionnal/monad approach is proposed. Code could still be clearer.
a bit my contribute https://github.com/linagora/tmail-backend/commit/ba54428e75f1aab055876181c0dae4183b9220ff I will pair with @hungphan227 about it
Don't forget rebase master