Open Oxyrus opened 5 years ago
@Oxyrus
I was unable to reproduce the issue. Can you please try clearing your localStorage to mitigate the prisma admin issue.
Also, if you can, please provide me with a small reproduction repository so that I can triage and fix the bug if it exists.
I think this is related to this https://github.com/prisma/prisma/issues/4424#issuecomment-486661094
Describe the bug
I was following along the Get Started doc.
I had this datamodel:
And it was updated to:
I deployed the changes with
$ prisma deploy
and re-generated the prisma client with$ prisma generate
. I was also using apollo server to communicate with prisma, but after the changes it broke producing the following error message:I thought I did something wrong in the apollo-server side, but after reverting the changes the error was still there, so I decided to test it in the prisma admin. To my surprise, I couldn't save any posts, it would simply show 1 Unconfirmed change as you can see in the screenshot. Clicking on "Save to database" would do nothing at all.
So now I assume the problem is in the prisma side, but don't really know what's wrong.
To Reproduce Steps to reproduce the behavior:
type Post { id: ID! @id title: String! author: User @relation(link: INLINE) }