I think I remember not being able to set optional ...
# orm-help
r
I think I remember not being able to set optional fields (defined with
?
) to NULL in prisma (meaning I had to use
undefined
in my TypeScript when "unsetting"/"nulling" a value), or did I misunderstand something 🙂? It seems to work fine now though (v. 3.7.0) , but then now `undefined´ doesn't work 🤔. Is it just me being insane, or does anyone know what I'm rambling about 😬?
The background is that I've previously created a lot of
nullableValue ?? undefined
that now doesn't seem to be able to unset the properties they were supposed to 🤔.