Error: Can't insert null value in field id on insert in table post #7179
Replies: 1 comment
-
I got it, I had to create a new instance entity like postRepo.create() before postRepo.save(post), It wroks |
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
-
Medusa does not generate a random ID on creation.
Beta Was this translation helpful? Give feedback.
All reactions