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

Double Pound sign ## for comment that this loader doesn't parse #24

Open
emahuni opened this issue Aug 9, 2019 · 2 comments
Open

Double Pound sign ## for comment that this loader doesn't parse #24

emahuni opened this issue Aug 9, 2019 · 2 comments

Comments

@emahuni
Copy link

emahuni commented Aug 9, 2019

Double pound should be a real comment even if it contains a valid or invalid import directive.

eg:

#import "./file.graphql"     <= that will be parsed by this loader
##import "./file2.graphql"     <= that will be ignored by this loader

This is helpful in case you want to just comment an import without actually removing it from a file.

@amonks
Copy link

amonks commented Aug 9, 2019

do other tools in the ecosystem have this behavior?

@emahuni
Copy link
Author

emahuni commented Aug 10, 2019

Not that I know of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants