Thinkmill / ts-gql

Write GraphQL queries with a gql tag in TypeScript -> have generated types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated schema missing types

raza-jamil-reckon opened this issue · comments

Just upgraded from ts-gql 0.9.0 to 0.12.0 and apollo client from 3.3.21 to 3.6.9 to fix some apollo specific issue but I'm seeing a an issue with the file generated at __generated__/ts-gql/@schema.d.ts, it does not contain all the types from the schema.graphql file. I've double checked against the last ts-gql version and it's working as expected i.e it has all the types from the schema.graphql file.

We've got a bunch of code that imports types from the @schema.d.ts and it's all broken post upgrade.