mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
## Motivation As Graphcool is being shutdown, we replaced all the graphcool api endpoints with some handcrafted APIs using Prisma & Nexus, that can be found here https://github.com/prisma-labs/nextjs-graphql-api-examples. These GraphQL endpoints are now deployed to Vercel. ## Notes - I couldn't get the reason-relay example to run. Given that the relay endpoint works on the other relay example, I don't see any reason why it wouldn't work on that one - The `with-apollo` example is buggy when creating some posts, but nothing related to the switch of the api endpoint as it was already buggy before. I suspect the `concatPagination` strategy to be the cause of that bug, but I couldn't figure it out. Fixes #14780
8 lines
162 B
Plaintext
8 lines
162 B
Plaintext
{
|
|
"schemaPath": "schema/schema.graphql",
|
|
"extensions": {
|
|
"endpoints": {
|
|
"dev": "https://nextjs-graphql-with-prisma-relay.vercel.app/api"
|
|
}
|
|
}
|
|
} |