Skip to content
Discussion options

You must be logged in to vote

the problem in here seems to be related to codegen.yml

overwrite: true
schema: "http://localhost:4000/graphql"
documents: "src/graphql/**/*.graphql"
generates:
  ./src/gen/graphql.ts:
    plugins:
      - typescript
      - typescript-operations
      - urql-introspection
      - typescript-urql

i removed the preset: "client" and changed generates to ./src/gen/graphql.ts

seems to be working now...

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@saihaj
Comment options

saihaj Dec 7, 2022
Collaborator

@hitchcliff
Comment options

Answer selected by hitchcliff
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants