dalexander
06/20/2016, 10:46 PM{“fooArray”:[“thing”, “thing”…] ...}
(but with more fields). And you have some class DangerousBusinessObject
that you can call validate on that returns BusinessObject?
, and validate does things like make sure the array isn’t null, has the expected number of params, the params are valid and so forth for each value. Then you can make sure internally everything uses BusinessObject
and not BusinessObject?
or DangerousBusinessObject
, which would be helpful for sort of isolating bad data.orangy
dalexander
06/20/2016, 10:47 PMBusinessObject
and DangerousBusinessObject
which are likely to be similar except most of the fields in the latter are going to be nullable.orangy
dalexander
06/20/2016, 10:50 PMdalexander
06/20/2016, 10:51 PMorangy
dalexander
06/20/2016, 10:53 PMorangy
Ruckus
06/20/2016, 10:54 PMRuckus
06/20/2016, 10:55 PMval
fields in the objects, so not just setting all the fields to null)kevinmost
07/05/2016, 2:33 PMbrianwernick
07/05/2016, 2:44 PMbrianwernick
07/05/2016, 2:44 PMcedric
07/05/2016, 2:56 PMcedric
07/05/2016, 2:58 PMevanchooly
07/05/2016, 2:58 PMjkbbwr
07/05/2016, 3:55 PMevanchooly
07/05/2016, 3:55 PMcedric
07/05/2016, 4:08 PMcedric
07/05/2016, 4:08 PMpokkeli
07/05/2016, 4:09 PMjkbbwr
07/05/2016, 4:18 PMsargunv
07/05/2016, 5:08 PMhimrin
07/06/2016, 2:47 AMdebug
07/06/2016, 3:27 AMdebug
07/06/2016, 3:28 AMcedric
07/06/2016, 3:34 AMdebug
07/06/2016, 3:39 AMcedric
07/06/2016, 3:40 AM