clark
05/04/2021, 2:06 AM.toInput()
method on each parameter I pass to an Input object type?clark
05/04/2021, 2:07 AMclark
05/04/2021, 2:07 AMval input = CreateEnvelopeInput(
name = "Name".toInput(),
balance = 100000.toInput(),
color = "0fc7a0".toInput(),
...
)
clark
05/04/2021, 2:08 AMChris
05/04/2021, 6:33 AMInput.optional("Name")
although we actually use `val`’s in the code rather than hardcoded values.mbonnin
05/04/2021, 7:27 AMabsent
vs null
input fields. The only solution would be to make these input fields non null in the schemambonnin
05/04/2021, 7:28 AMnull
will delete from the db whereas absent
will leave untouchedclark
05/04/2021, 3:15 PM.toInput()
in some of the examples I was looking at.clark
05/04/2021, 3:15 PMmbonnin
05/04/2021, 3:16 PM