Replies: 2 comments
-
Apologies prior if I have done anything wrong with my post formatting etc. I am pretty new to this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This looks wrong to me. A MongoDB ObjectID should be defined like this:
Note that the default function is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug description
I am using prisma and mongodb. Reading about it. It seems that there is a problem when it comes to id and ObjectId creating a conflict between JSON and BSON.
The error message I get is...
How to reproduce
Expected behavior
I am expecting a new user to be saved from a user registration (auth) page, in Mongodb. But it will not accept the Id.
signup.ts
Prisma information
Environment & setup
Prisma Version
Beta Was this translation helpful? Give feedback.
All reactions