pvzig / SlackKit

Build Slack apps, in Swift
MIT License
1.02k stars 139 forks source link

Use Dictionary.compactMapValues #180

Closed mtgto closed 4 years ago

mtgto commented 4 years ago

In #179, I use Dictionary.compactMapValues in WebAPI users.conversations. I notice SKCore presents filterNilParameters which is same as Dictionary.compactMapValues({$0}) .

SlackKit is written in Swift 5.x now, we can use compactMapValues all over the project.

pvzig commented 4 years ago

Nice!