tim
04/07/2022, 10:28 AMdata class Foo(val name: String, val other: String? = null)
val thing = Foo("bar")
...
insert(thing)
The document in mongo is {"name": "bar", "other": null}
when I want it to be {"name":"bar"}
. Alternatively, can I provide my own Json instance to kmongo?
Thanks!