Apollo Client 3 with GraphQL Code Generator

14 Feb 2022

overwrite: true
schema: ${NEXT_PUBLIC_GRAPQL_ENDPOINT}
documents: "**/*.{gql,graphql}"
generates:
  ./graphql/generated/schema.ts:
    plugins:
      - "typescript"
      - "typescript-operations"
      - "typescript-react-apollo"