Skip to content

colorfield/graphql_minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Minimal GraphQL v4 schema for Drupal

Reducing the GraphQL Example module to a minimal implementation.

It only supports the following query.

{
  article(id: 1) {
    id
    title
    author
  }
}

It is related to this blog post and used as a documentation to show that only 2 files are needed to start a GraphQL 4 schema:

  • graphql/minimal.graphqls
  • src/Plugin/GraphQL/Schema/MinimalSchema.php

About

Minimal GraphQL v4 schema for Drupal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages