New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not convert prisma value to graphqlid #348
Comments
I can confirm this Reproduction repository: https://github.com/harshit-test-org/issue-prisma2-348 |
Adding a comment per my my thread with divyendu. I had a similar error creating this model:
Manually changing the id would cause it to work:
|
Also had same issue with trying to create a record with a uuid after upgrading prisma2 to |
Any news on this? This is a blocker for me |
The issue is resolved in preview-7 and above. @ellipticaldoor |
Awesome thanks :) |
After the update I have a piece of code that stoped working.
I'm creating the uuid with the npm library 'uuid/v1' before calling create but it looks like it not longer works.
This is the datamodel
This is the code
And this is the error message
Also if a comment the line that specifies the id on the create object I get this other error
Looks like if you pass an uuid to a field that is a String on the datamodel photon throws an error.
The text was updated successfully, but these errors were encountered: