Does anyone have a clue what this error means? Sh...
# orm-help
m
Does anyone have a clue what this error means? Shoot! You provided an invalid argument for the where selector on Item. Please provide exactly one unique field and value. Does it mean that I need to pass @Unique to any of the following apart from the ID field? type Item {     id: ID! @Unique @id     title: String!     description: String!     image: String     largeImage: String     rating: [Rating!] @relation(name: "RatingToItem", onDelete: CASCADE) }
s
ID
is by default unique. it is autogenerated by prisma. the error is related to the query that you're making to fetch the data.