/next-gql

A collection of graphql best practices and sensible defaults.

Primary LanguageTypeScriptMIT LicenseMIT

next-gql

A collection of graphql best practices and sensible defaults. The project goals:

  • production ready with minimum effort
  • config options to underlying technologies (no lockin)

Getting Started

Read the documentation website

Contribute

Using changesets so please remember to run "changeset" with any PR that might be interesting to people on an older template.

Development Workflow

Unfortunately bun link seems to have trouble with graphql and updating binaries. This is the current workaround: In module, run 'bun lint:fix && bun run build:pack` In application, run one of as applicable:

  • 'bun uninstall @enalmada/next-gql && bun install file:/next-gql/packages/next-gql/enalmada-next-gql-.tgz'
  • 'bun uninstall @enalmada/next-gql-codegen && bun install file:/next-gql/packages/next-gql-codegen/enalmada-next-gql-codegen-.tgz'