Closed gcsfred2 closed 8 months ago
Thanks for the report! Can you give a repro -- your schema, queries, genqlient.yaml (or, ideally, a minimal set of the same that reproduces the issue)? If you're unable to share that, I think you'll have to do some more debugging yourself -- it looks like it's the gofmt
that's failing so I'd suggest changing generate.go
to print out the source before and see if you can see what's wrong. Perhaps this is a gofmt
bug, in fact -- you would think it should, at worst, simply reject the code and not panic!
genqlient.yaml: https://pastebin.com/0Wb2Mjkx password LH2UDPAH4H3x schema.graphql: https://pastebin.com/5kCv6Et3 password ASzHn7q7sS
Thanks -- you'll also need to share the queries you used! And your go version
will also be useful, since I suspect this issue is in part a gofmt issue.
Closing this issue, we can reopen if we get the additional info!
Describe the bug
The error above happened after running for about 14 hours.
To Reproduce The problem happens at code-generation time.
Expected behavior No exception.
genqlient version genqlient@v0.5.0
Additional context