next-drupal
next-drupal copied to clipboard
Graphql
Hello, just looking into using this module but I'll be using graphql rather than the rest api. Just wanted to check if it will work in particular with Incremental Static Regeneration.
Yes. The Next module works with both JSON API and GraphQL.
The next-drupal however works only with JSON API right now.
are you planning on implementing GraphQL for next-drupal?
Not for now. However we are following @jmolivas work on schema generation and will decide on how best to support it.
Have you seen this? https://www.drupal.org/project/graphql_compose
See also https://www.chapterthree.com/blog/nextjs-drupal-and-graphql-how-to-use-graphql-next-drupal