Slaughtered
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
oh lol it because i just using import type at dto sorry, and thanks for the response
11 replies
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
here's my main.ts
11 replies
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
oh when i was using a prisma generated type (
EventCreateInput
in controller and service) it work but what when wrong with my dto?11 replies
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
Error:
Invalid value for argument
data: We could not serialize [object Function] value. Serialize the object to JSON or implement a ".toJSON()" method on it.
data:
11 replies
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
sure i'll provide you wait there
11 replies
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
and yeah when i print an input from
event.service.ts
it says like this:
11 replies
PPrisma
•Created by Slaughtered on 5/25/2025 in #help-and-questions
PrismaClientValidationError: Invalid ` .create()` invocation in
event.dto.ts
I have done running
prisma generate
and still got an error, what should i do now? thanks11 replies