# Yoga Persisted Documents Example Example for showing how to use GraphQL Code Generator for only allowing the execution of persisted operations. [Learn more about Yoga Persisted Operations](https://the-guild.dev/graphql/yoga-server/docs/features/persisted-operations) ## Usage Run `pnpm codegen --watch` for starting GraphQL Code Generator in watch mode. Run `pnpm test` for running a tests located within `yoga.spec.ts`.