# @vantreeseba/graphql-casl-codegen > GraphQL Code Generator plugin that emits @vantreeseba/graphql-casl subject bindings for your generated resolver types. Agent-facing docs for @vantreeseba/graphql-casl-codegen: one task or concept per page, then what each package.json "exports" entry exports. Generated from _agents/docs/ and the doc comments in src/ by @cubicecho/agent-docs; edit those, not this file. Peer dependencies: `@graphql-codegen/plugin-helpers` >=5, `@vantreeseba/graphql-casl` >=0.2.1 (optional), `graphql` >=16. ## Docs - [Install and configure](_agents/docs/01-install.md): Add the plugin after `typescript` and `typescript-resolvers` in one output file, and rename what it emits or references with its config. - [Common mistakes](_agents/docs/common-mistakes.md): Configurations that generate a file which does not compile or cannot be imported, and the fix for each. - [Generated output](_agents/docs/generated-output.md): What the plugin appends to the generated file, which schema types become subjects, and how to use the bindings with the runtime. ## Exports: @vantreeseba/graphql-casl-codegen A GraphQL Code Generator plugin that emits the `@vantreeseba/graphql-casl` subject bindings for your generated resolver types, so you never hand-write them. - `GraphqlCaslPluginConfig` (type): Configuration for the plugin. - `plugin`: The codegen plugin: emits the subject map type and the helpers typed to it. - `validate`: Checks the options this plugin reads, and only those.