rsnext/examples/api-routes-apollo-server-and-client-auth/pages
Horacio Valencia 081b8fba67
Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771)
Closes https://github.com/vercel/next.js/issues/42769

## Description 

This PR address https://github.com/vercel/next.js/issues/42769 by updating the `api-routes-apollo-server`, `api-routes-apollo-server-and-client` and `api-routes-apollo-server-and-client-auth` examples to use Apollo Server 4 and [@as-integrations/next](https://github.com/apollo-server-integrations/apollo-server-integration-next), which is the Apollo Server Next integration package. The PR also updates the three examples to use Typescript. The functionality of the examples is the same.


## Documentation / Examples
- [X] Make sure the linting passes by running `pnpm build && pnpm lint`
- [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)


closes https://github.com/vercel/next.js/pull/33545
closes https://github.com/vercel/next.js/pull/30082
closes https://github.com/vercel/next.js/issues/21984
closes #10413
2022-11-14 12:13:31 +00:00
..
api Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00
_app.tsx Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00
about.tsx Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00
index.tsx Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00
signin.tsx Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00
signout.tsx Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00
signup.tsx Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next (#42771) 2022-11-14 12:13:31 +00:00