Skip to content

GraphQL

Pilcrow uses GraphQL for communication between the client and backend. The backend schema is defined using Lighthouse, and the client consumes it via Apollo Client.

  • Backend GraphQL — Schema definition, Lighthouse directives, and exporting the compiled schema
  • Client GraphQL — Operations, TypeScript code generation, and development workflow