next-drupal icon indicating copy to clipboard operation
next-drupal copied to clipboard

Graphql

Open dottodot opened this issue 4 years ago • 4 comments

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.

dottodot avatar Jul 10 '21 10:07 dottodot

Yes. The Next module works with both JSON API and GraphQL.

The next-drupal however works only with JSON API right now.

shadcn avatar Jul 10 '21 18:07 shadcn

are you planning on implementing GraphQL for next-drupal?

violabg avatar Mar 30 '22 13:03 violabg

Not for now. However we are following @jmolivas work on schema generation and will decide on how best to support it.

shadcn avatar Mar 30 '22 13:03 shadcn

Have you seen this? https://www.drupal.org/project/graphql_compose

violabg avatar Jul 18 '22 19:07 violabg

See also https://www.chapterthree.com/blog/nextjs-drupal-and-graphql-how-to-use-graphql-next-drupal

shadcn avatar Oct 14 '22 16:10 shadcn