obobo
03/19/2019, 4:43 PMContentNegotiation
, and trying to use receiveOrNull
to 'safely' get a POST body, and it feels much less useful/safe than I'd expect it to be. If I send an empty body or try to instance a data object with non-nullable fields receiveOrNull
will throw an exception. Is this by design?bdawg.io
03/19/2019, 11:03 PMreceiveOrNull<MyType>()
was not returned by transformationobobo
03/20/2019, 4:55 PMIOException
if I want receiveOrNull
to be safe. I always felt that the OrNull
functions were for situations where you don't particularly care why something failed.