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

feat: add apollo client to use graphql #10

Closed
wants to merge 7 commits into from

Conversation

hee-suh
Copy link
Member

@hee-suh hee-suh commented May 30, 2024

Issue Number

#2

Description

구현 내용 및 작업한 내용

  • graphql client library인 apollo client를 추가하였습니다.
  • tanstack query를 제거했습니다. (테스트 코드까지 포함해서 세팅 예쁘게 되어있었는데 넘 아깝 ㅜㅜ 상민 고생했슈...)
  • graphql 예제 코드를 작성했습니다.

To Reviewers

PR을 볼 때 주의깊게 봐야하거나 말하고 싶은 점

  • graphql 예제 코드의 서버를 위해 추가한 패키지 @apollo/server@as-integrations/next는 예제 삭제와 함께 제거할 예정입니다.

Checklist

PR 등록 전 확인한 것

  • 올바른 타켓 브랜치를 설정하였는가
  • PR 제목은 포맷과 내용 둘 다 알맞게 작성되었는가 (e.g., feat: add login page)
  • Description에 PR을 구체적으로 설명했는가

hee-suh added 3 commits May 29, 2024 16:46
- add graphql api
- get data into client components
- get data into react server components
hee-suh and others added 4 commits May 30, 2024 20:03
[ApolloError]: Dynamic server usage: no-store fetch http://localhost:3000/api/graphql /cc
to fix networkerror: fetch failed
@hee-suh hee-suh closed this Jun 8, 2024
@hee-suh
Copy link
Member Author

hee-suh commented Jun 8, 2024

graphql 대신 rest api를 선택했기에 이 PR을 닫습니다!

@hee-suh hee-suh deleted the feature/graphql-scaffold branch June 8, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants