my datamodel was looking good but i still cant be able to connect records while creating conversation record below is my datamodel
type User {
id: ID! @id
createdAt: DateTime! @createdAt
updatedAt: DateTime! @updatedAt
active: Boolean! @default(value: true)
email: String! @unique
friends: [User!]! @relation(name: "FRIENDS")
conversations: [ConversationList!]! @relation(name: "CONVERSATION")
sent: [User!]! @relation(name: "SENT")
received: [User!]! @relation(name: "RECEIVED")
name: String!
password: String!
}
type ConversationList {
id: ID! @id
users: [User!]! @relation(name: "CONVERSATION")
messages: String!
}
Error: Reason: 'participants.set' Field 'set' is not defined in the input type 'UserCreateManyWithoutConversationsInput'.
NOTE: Its working all good while users: User! not list
let me know how to fix this issue