Michael Ferguson

Results 4 comments of Michael Ferguson

Another solution to this problem is to side step the entire issue altogether. Personally, I feel there's no need to expose the entire 204, empty body problem to the caller....

> How would converting the body to Unit work when you expect a different return type for an endpoint? Would that not cause issues with the parsing of the response?...

Ah yes, I didn't realize that was the situation being described here. In that case where the web service contract is "flexible" then yeah my interceptor won't work but neither...

Alterations to existing statements are required though. I'd argue they are mandatory. No matter what route you go with this is a breaking change. Any user of the library had...