feat: gql codegen + caching + optimistic
This commit is contained in:
committed by
liyasthomas
parent
8d5bd051a1
commit
52539b084d
15
packages/hoppscotch-app/gql-codegen.yml
Normal file
15
packages/hoppscotch-app/gql-codegen.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
overwrite: true
|
||||
schema: https://api.hoppscotch.io/graphql
|
||||
generates:
|
||||
helpers/backend/graphql.ts:
|
||||
documents: "**/*.graphql"
|
||||
plugins:
|
||||
- add:
|
||||
content: // Auto-generated file (DO NOT EDIT!!!), refer gql-codegen.yml
|
||||
- typescript
|
||||
- typescript-operations
|
||||
- typed-document-node
|
||||
|
||||
helpers/backend/backend-schema.json:
|
||||
plugins:
|
||||
- urql-introspection
|
||||
Reference in New Issue
Block a user