This is the companion repo to the blog post about GraphQL with Typescript.
This is skeleton svelte kit app. The relevant files are:
.graphqlrc.yml
Editor configcodegen.yaml
Generator configsrc/lib/gql
Folder where I've put the GraphQL stuffsrc/routes/index.svelte
example usage of the generated SDK
You can check a running demo here: https://blog-typescript-graphql.vercel.app
pnpm i
pnpm run generate # Generate GraphQL stuff
pnpm run dev