Closed netpoe closed 4 years ago
@dangcuuson ?
Has the same issue after adding union FullWidget = Widget | JSON
Has the same issue after adding
union FullWidget = Widget | JSON
@QuestionAndAnswer in my case, I ended up using: https://www.npmjs.com/package/@graphql-codegen/typescript-resolvers instead of this.
This is still an issue BTW
When running
graphql-schema-typescript generate-ts ./src/datamodel/testSchema.graphql --output ./src/datamodel/testSchema.d.ts
from my package.json script:I get the following error:
I've tried with escaping double quotes, single quotes, etc. I've also tried to use the
testSchema.graphql
from the__tests__
to no avail.Seems like a parse issue with the directory paths?