OmerFlame / SwiftRant

devRant API library made in Swift.
GNU General Public License v3.0
3 stars 1 forks source link

Complete transition from tuples to `Result<>` #10

Closed OmerFlame closed 2 years ago

OmerFlame commented 2 years ago

This is not yet finished, we need proper documentation terminology for the new changes, both for the completionHandler type functions as well as the async wrappers.

OmerFlame commented 2 years ago

@WilhelmOks since you are not responding, I am going to immediately merge this change into main and create a new major release.

WilhelmOks commented 2 years ago

Sry, this week was quite busy for me. I'm curious to see the changes. 👍

OmerFlame commented 2 years ago

No worries! I am really happy how this library is turning out with some feedback.

WilhelmOks commented 2 years ago

Changes are looking good! I've already adopted the changes and it makes it very easy for me to use the API calls now because I use throwing functions and I just call .get() on the Result value and thats it.