altavir
03/19/2018, 10:37 AMlateinit var
. Though I do not know.how it interacts with the framework.rrader
03/19/2018, 10:41 AMaltavir
03/19/2018, 10:43 AMrrader
03/19/2018, 10:45 AMaltavir
03/19/2018, 10:48 AMrrader
03/19/2018, 10:50 AMEvgeniy Zaharov
03/19/2018, 10:52 AMrrader
03/19/2018, 10:55 AMaltavir
03/19/2018, 10:55 AMrrader
03/19/2018, 10:56 AMrrader
03/19/2018, 10:57 AMrrader
03/19/2018, 10:57 AMaltavir
03/19/2018, 11:00 AMrrader
03/19/2018, 11:01 AM!!
, so yes, it will be our choiseAndreas Sinz
03/19/2018, 12:39 PMAndreas Sinz
03/19/2018, 1:34 PMString
to be null
, then you lose all of the compile-time guarantees. IMO it sounds like "Hey, lets fix the symptoms"rrader
03/19/2018, 1:36 PMAndreas Sinz
03/19/2018, 1:37 PMEvgeniy Zaharov
03/19/2018, 1:42 PMnullable
, and on second choose as needed. With this you will only needed to add mapping from one dto object, to second. But it’s possible to do it with reflection (like ModelMapper library do)rrader
03/19/2018, 1:57 PM-Xno-param-assertions
option, why not restrict this by annotation?Andreas Sinz
03/19/2018, 2:07 PMAndreas Sinz
03/19/2018, 2:09 PMlateinit
), but you can still create a yt-issue and see what the devs sayEvgeniy Zaharov
03/19/2018, 2:15 PM-Xno-param-assertions
is a very bad solution, you will disable all runtime checks. So you will lose early failing on errors.rrader
03/19/2018, 2:16 PMAndreas Sinz
03/19/2018, 2:46 PMrrader
03/19/2018, 3:15 PM