ardatan/graphql-import

How can I comment out import statements?

Closed this issue ยท 3 comments

I want to "comment out" import statements, how does that work?

What about this:

# import User from file.graphql
# # add later:
# # import Post from invalid.graphql

https://github.com/graphcool/graphql-import/blob/master/src/index.ts#L34

Your best bet is to change the word import ๐Ÿ˜„

# impport User from file.graphql works fine

I've had success with

## import User from 'file.graphql'

You can comment out import statements as @tjpeden suggests. Feel free to open a new issue if you have any problems.