James Eschner
01/12/2022, 10:05 PMArb
automagically using Arb.bind
is that I’m not getting any null support. For example, if I have the following data class:
data class Foo(
val myInt: Int?
)
and I generate an arb like so:
val fooArb = Arb.bind<Foo>()
I have never encountered a generated value with myInt == null
. Is this expected? Is there a way to get this behavior?
* Not a contribution*sam
01/12/2022, 10:22 PMJames Eschner
01/12/2022, 10:24 PMsam
01/13/2022, 2:07 AMJames Eschner
01/13/2022, 2:19 PM