what i'm doing is just reading the arguments given from ktor (which are nullable string), use them to retrieve a planning and add to it the PlanningDay given by the user in the request
r
raulraja
07/08/2020, 2:32 PM
Hi Meimei, no point in using Option there if you already have a way to extract args as nullable types
Hi 👋
Agree with not using option
For the rest of the code I would translate to something like that if the errors types aligns (that seems to be the case from your snippet)