Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4주차 세미나 기본과제 #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

4주차 세미나 기본과제 #5

wants to merge 1 commit into from

Conversation

biiit4894
Copy link
Contributor

SERVER PR


🐕 과제 구현 명세

  • 세미나 코드를 따라 치며 프리즈마를 이용한 CRUD 구현을 연습해보았습니다~!

🐥 이런 점이 새로웠어요 / 어려웠어요

  • 와 4주차에서 신세계를 보았습니다 저는 데이터 테이블을 만져보는 것 자체가 처음이에요.. 예..심각하죠...

    • 저에겐 모든 것이 새로워서.... 헛참.... 헛웃음이...ㅎ 그치만 포기하지않겠읍니다... 파라도 썰어야지..
  • 고수분들... 가여이 여기셔서 많이 많이 도와주십쇼.. 어린양이에요..

  • src/service/userService.ts line 9에서 age 부분에서 계속 에러가 나왔는데 (그래서 썬더로 PATCH 할때만 400 에러가..!) 별 문제 없이 돌아가던 지난주 코드랑 비교하거나.. 그 코드 그대로 붙여넣기 해봐도 그대로 에러가 나더라고요..! DB에서 제가 뭔가 잘못 설정한건가 싶기도 합니다...

  • 에러메시지 (죄송합니다 너무 기네요....)
  • '{ userName: string; age: number; email: string; }' 형식은 '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)' 형식에 할당할 수 없습니다.

    개체 리터럴은 알려진 속성만 지정할 수 있으며 '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)' 형식에 'age'이(가) 없습니다.ts(2322)

    index.d.ts(1567, 5): 필요한 형식은 여기에서 '{ select?: UserSelect | null | undefined; data: (Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput); }' 형식에 선언된 'data' 속성에서 가져옵니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant