-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schema.graphql generated as UTF-16 LE #30
Comments
@daniloab Can you please make a small PR that changes the encoding the in the output of the We will be happy to review and merge it. |
This issue causes various tools to break, a tiny merge of #31 will fix this |
Issue persists |
I'm really sorry but I don't have any time to maintain this package at the moment. If someone is interested in getting involves as a maintainer, please get in touch! |
When I use
get-graphql-schema ENDPOINT_URL > schema.graphql
my .graphql is generated as UTF-16 LE.So when I try run
yarn run relay
at my react application I got the following error:To correct this problem I had to generate my .graphql on terminal, copy and paste in a new file that I created by myself on my app setting the name as
schema.graphql
.With this approach, I was able set UTF-8 at my file and compile my queries using the relay command with yarn.
Is there another approach to fix this on windows?
The text was updated successfully, but these errors were encountered: