GraphQL integration for Drupal 8
PHP CSS Other
Latest commit 2ce9119 Feb 23, 2017 Sebastian Siemssen Use eager caching.
Permalink
Failed to load latest commit information.
config/schema * Added GraphQLQueryMap config entity to store versioned query maps. (#… Feb 20, 2017
css Updating CSS to latest version. Nov 13, 2016
doc Require the dev version. (#33) Jan 20, 2017
example Use eager caching. Feb 23, 2017
js Removing query parameter from graphiql. Nov 11, 2016
src Use eager caching. Feb 23, 2017
templates Issue #2556973: Initial version of a GraphiQL interface. Aug 26, 2015
tests Added @group test tag to prevent crash in Simpletest UI. Oct 1, 2016
.gitignore Documentation (#22) Nov 20, 2016
.travis.yml A few changes to trigger a Travis build on the fork. Sep 26, 2016
README.md Update README.md Feb 23, 2017
book.json Documentation (#22) Nov 20, 2016
composer.json Changing version constraint for youshido/graphql. Nov 20, 2016
graphql.info.yml Clean slate for code-first approach for 3.x. Aug 12, 2016
graphql.install Issue #23: prevent installation if youshido/graphql is missing. (#25) Dec 4, 2016
graphql.libraries.yml Adding jquery and jquery.once to the library dependencies. Sep 25, 2016
graphql.links.action.yml * Added GraphQLQueryMap config entity to store versioned query maps. (#… Feb 20, 2017
graphql.links.menu.yml * Added GraphQLQueryMap config entity to store versioned query maps. (#… Feb 20, 2017
graphql.module Added graphiql page. Added hook_help() implementation. (#24) Dec 4, 2016
graphql.permissions.yml * Added GraphQLQueryMap config entity to store versioned query maps. (#… Feb 20, 2017
graphql.routing.yml * Added GraphQLQueryMap config entity to store versioned query maps. (#… Feb 20, 2017
graphql.services.yml * Added GraphQLQueryMap config entity to store versioned query maps. (#… Feb 20, 2017
phpcs.xml.dist Removing YML files from PHPCS config. Feb 19, 2016

README.md

GraphQL for Drupal

Build Status

This module aims to generate and expose a GraphQL schema for Drupal 8 entities. Currently, you can expose your own custom schema through custom code with minimal effort.

The module is currently meant as a basis for custom development rather than pure site building. As such, at this point it only exposes entity identifiers and labels, leaving it up to you as a developer to choose whether/how to expose fields and non-entity data. To help you with this task, it provides base objects you only need to extend to define your own schema.

For ease of development, it includes the GraphiQL in-browser IDE.

Future features

Built-in schema

By default, the module is going to expose all content and configuration entities as a GraphQL schema making the whole Drupal entity graph available to clients.

Resources