scala style - how to avoid having lots of nested map

后端 未结 0 1305
南笙
南笙 2021-02-13 08:23

Very often i end up with lots of nested .map and .getOrElse when validating several consecutives conditions

for example:

def save() = CORSAction { reques         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题