wp-graphql-composer icon indicating copy to clipboard operation
wp-graphql-composer copied to clipboard

unified GraphQL Schema ?

Open tomByrer opened this issue 5 years ago • 3 comments

no other GraphQL server for WordPress has been developed to my knowledge

Seems for PHP, WPGraphQL is the way to go. But there are many other ways to use a WP database to serve GraphQL. You could just find a GraphQL server & connect to the MySQL DB directly or via ORM, but creating the API would be a bit of work.

NodeJS has a few solutions. Some of the more built up wrappers are jsindos/acfq that can use ACF & also ramsaylanier/WordExpress-Server. Not sure if these would be more performant than WPGraphQL or easier to use (since you're using React anyhow), but I'm leaning towards NodeJS solution for SSR.

That said, I wonder if there could be an unified GraphQL Schema that would be transportable between platforms?

tomByrer avatar Oct 09 '18 14:10 tomByrer