Skip to content
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

Formatter throws an exception when schema element is present in .graphql #6

Closed
qrsor opened this issue Jun 15, 2020 · 1 comment
Closed
Labels

Comments

@qrsor
Copy link

qrsor commented Jun 15, 2020

Node version: 12.16.3
Command: npx format-graphql ./test.graphql
Input: test.graphql.txt Suffixed with .txt to be able to upload
Expected: Sorted output
Actual: Cannot read property 'value' of undefined

When the schema element is removed the file is sorted properly.

@gajus gajus closed this as completed in 27881f6 Jun 15, 2020
@gajus
Copy link
Owner

gajus commented Jun 15, 2020

🎉 This issue has been resolved in version 1.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants