Closed SamWoolerton closed 3 years ago
Update: turns out get-graphql-schema
generated the file as UTF-16, which looked fine in VS Code but was the source of the issues (see this issue). Not sure if UTF-16 is something you want to support, so I'll leave this issue open for now but happy to close it as I'm up and running again.
I'm getting a compilation error to do with the PPX when I try follow the getting started guide for rescript-urql. The query looks fine to me (copy-pasted the whole example module) so not sure why it won't compile. I first raised this issue in that repo but was directed here instead.
Can confirm that my
graphql_schema.json
andbsconfig.json
files are valid JSON.Here's the command line output (on Windows; same thing happens on WSL):