TIL/GraphQL7 GraphQL | Field 'email' is not defined in the input type 'UserWhereUniqueInput'. error> { Error: Variable '$where' expected value of type 'UserWhereUniqueInput!' but got: {"email":"kay@gmail.com"}. Reason: 'email' Field 'email' is not defined in the input type 'UserWhereUniqueInput'. (line 1, column 36): mutation ($data: UserUpdateInput!, $where: UserWhereUniqueInput!) solution> datamodel.prisma > userName: String! @unique email: String! @unique @unique 를 추가함. 2020. 2. 1. 이전 1 2 다음