All pluginsAPIs

GraphQL

Experimental

Queries and mutations for every collection and global, with the same access rules as REST.

@easy-cms/plugin-graphql16,716 downloads in total3,272 downloads last week

What it does

  • A schema built from your config
  • Queries and mutations for every collection and global
  • The same access rules as REST
  • Caps on depth, documents and list size
  • Works with codegen tools

Install

$npm install @easy-cms/plugin-graphql

In easy-cms.config.ts

easy-cms.config.ts
import { defineConfig } from '@easy-cms/core'
import { graphqlPlugin } from '@easy-cms/plugin-graphql'

export default defineConfig({
  // …
  plugins: [graphqlPlugin()],
})
Downloads, last 30 days · 13,160

From npm. Counts include automated installs, such as CI.