prisma / prisma-admin-feedback

Feedback for Prisma Admin (currently in invite-only preview)
6 stars 1 forks source link

Query fails when trying to fetch a model declared without unique ID #73

Open adamovittorio opened 5 years ago

adamovittorio commented 5 years ago

First of all thank you for your amazing work!

Declaring a model without unique identifier cause an error during the first load of the prisma admin interface.

Adding the unique id to the datamodel solve the problems.

screen shot 2019-02-13 at 08 57 46 screen shot 2019-02-13 at 09 02 04
sirojinadias commented 5 years ago

Got the same problem with @embedded types without @id

ScottAgirs commented 5 years ago

Same here, started last week and has been since, admin interface is effectively unusable

mrm007 commented 5 years ago

This clashes with the recommended workaround for custom ids – https://github.com/prisma/prisma/issues/1278#issuecomment-379177261