Closed Pomanks closed 2 years ago
This looks good, @Pomanks. I'm happy that this use case will now be supported without introducing any new public APIs.
I would appreciate if you could add a couple of tests, but that's not strictly required. I can merge it as is and add them later prior to the release.
Sure thing! I'd rather make sure the implementation was good to go before adding some. I'll push another commit for the tests.
added OptionalDecoding protocol to support returning nil in case of empty data in response