Open vsDizzy opened 2 years ago
I don't see any errors here; https://codesandbox.io/p/github/vsDizzy/gql-codegen-bug/csb-lzb4fl/draft/misty-cloud?file=%2Fget-schema.codegen.yml&selection=%5B%7B%22endColumn%22%3A1%2C%22endLineNumber%22%3A16%2C%22startColumn%22%3A1%2C%22startLineNumber%22%3A16%7D%5D Could you reproduce it on CodeSandbox or StackBlitz using our template?
It works online and under docker run -it node:16 sh
But it fails under remote-containers or locally on Windows.
There is .devcontainer
folder in the example repo above. You can use remote containers
extension in VS code.
Describe the bug
If I split the generations into two steps:
.schema
file.Then the generation fails:
However it works when https schema is specified.
Your Example Website or App
https://github.com/vsDizzy/gql-codegen-bug
Steps to Reproduce the Bug or Issue
Expected behavior
There should be no error.
Screenshots or Videos
Platform
Codegen Config File
Additional context
This is also not working for shema downloaded with
apollo client:download-schema
.