-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
updated api-routes-apollo-server-and-client example to utilize app router. #73334
base: canary
Are you sure you want to change the base?
updated api-routes-apollo-server-and-client example to utilize app router. #73334
Conversation
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
@PapatMayuri Please make sure to test the example before pushing up a PR and having it ready for a review. Unfortunately, this one has a multitude of issues. You may have update the example to be something like this → https://github.com/apollographql/apollo-client-nextjs/tree/main/examples/app-dir-experiments. |
Sure @samcx, Thanks for the feedback. I'll make sure to test the example thoroughly before submitting a PR and will follow the approach outlined in the (https://github.com/apollographql/apollo-client-nextjs/tree/main/examples/app-dir-experiments). I'll also address any issues that arise during testing to ensure everything works smoothly before submitting for review. |
Hi @samcx I have updated the example please check & let me know if there are any changes needs to be done. |
@PapatMayuri This example is still not working. Did you make sure to run the example? |
Yes @samcx I checked the example it is working. Give me some time I will recheck and update you. |
Notifying the following users due to files changed in this PR based on this repo's notify modifiers: @timneutkens, @ijjk, @shuding, @huozhi:
|
This PR updates the api-routes-apollo-server-and-clientexample for using the App Router.
Here are the changes that have been made:
pages
folder and moved it to theapp
folder.layout.tsx
file as part of the App Router.component
folder toapp
folder.api
folder toapp
folder.apollo
folder tolib
folderCC: @samcx