All pluginsAPIs
GraphQL
ExperimentalQueries and mutations for every collection and global, with the same access rules as REST.
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-graphqlIn 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()],
})From npm. Counts include automated installs, such as CI.