#Why isn't previousDoc from afterChange typed as T | undefined ?

2 messages · Page 1 of 1 (latest)

prisma nacelle
#

In beforeChange, originalDoc is undefined when operation type is create, which makes sense
and so shouldn't the same logic apply to afterChange as well?
Or am i missing something?

frosty lightBOT