Will there be support for optional nested composit...
# mongodb
o
Will there be support for optional nested composite type ? I have use case where I want to have nested composite types, and make some optional an incremental update them on different screens. As of now Prisma requires all of the the nest documents to have some sort of value.
Currently I have to upsert all the fields with empty values as the nested documents does not accept null or an empty object.
d
I don't understand what you're trying to say. We already support optional and nested composite types. They should also accept
null
if they're optional. Can you provide an example of what doesn't work for a given schema?
o
Im on 3.14 , probably that ?
d
That version should work
o
Right, let me check this again. Probably i did something wrong in a rush
Will revist