Tobias
02/04/2022, 1:52 PMfun optionalInput(value: String? = null): String? = value
where value
is null
in the graphql variables, right? I should just get the value
of null
?Dariusz Kuc
02/04/2022, 2:42 PMvalue
it should use the provided default value of null
Dariusz Kuc
02/04/2022, 2:42 PMTobias
02/04/2022, 2:42 PMTobias
02/04/2022, 2:43 PMTobias
02/04/2022, 2:46 PMTobias
02/04/2022, 2:46 PMnull
Tobias
02/04/2022, 2:47 PMnull
that makes things go boomDariusz Kuc
02/04/2022, 2:48 PMnull
and undefined?Dariusz Kuc
02/04/2022, 2:48 PMDariusz Kuc
02/04/2022, 2:48 PMTobias
02/04/2022, 4:26 PMTobias
02/04/2022, 4:26 PMTobias
02/04/2022, 4:27 PMTobias
02/04/2022, 4:28 PMundefined
in Apollo is fine, because then it literally does not exist in the sent data. Null is not, because for some reason the map implementation used by Armeria does not allow null values.Dariusz Kuc
02/04/2022, 4:35 PM