Error: Variable '$data' expected value of type 'PostCreateInput!' but got: {"caption":"슈퍼히어로의 등장","title":"고양이가 세상을 구한다","user":{"connect":{"id":"ck7bq44ja000q0798887nbw2c"}}}. Reason: 'likeCount' Expected non-null value, found null. (line 1, column 11):
해결>
datamodel.prisma
type Post {
likeCount 삭제
}
'TIL > GraphQL' 카테고리의 다른 글
Error: Could not find argument ** for type User (0) | 2020.03.24 |
---|---|
TypeError: _prismaClient.prisma.commentproduct is not a function (0) | 2020.03.11 |
Graphql | Error: Cannot return null for non-nullable field. (0) | 2020.03.07 |
member - file 연결 (0) | 2020.03.07 |
tag - model 수정 (0) | 2020.03.04 |
댓글