Closed jbaum012 closed 10 months ago
Nullable types such as birthDate in the pal schema typescript example are being compiled to:
birthDate
pal schema typescript
birthDate?: Date;
instead of the correct type of:
birthDate: Date | null;
This causes typescript errors when retrieving models from prisma queries.
prisma
Nullable types such as
birthDate
in thepal schema typescript
example are being compiled to:instead of the correct type of:
This causes typescript errors when retrieving models from
prisma
queries.