trying to create a graphql-yoga server + prisma. H...
# prisma-whats-new
m
trying to create a graphql-yoga server + prisma. Had an error so posted to the forum: https://www.graph.cool/forum/t/fields-must-be-an-object-with-field-names-as-keys-or-a-function-which-returns-such-an-object/2279
i
The deployment probably worked the first time, the error is (AFAIK) from generating the generated prisma schema. (Check, if the generated schema is really up to date?) I had this error, when i forgot the id: ID! @unique on a model. So in your case maybe your User type doesn’t have an id?