graphql-loader icon indicating copy to clipboard operation
graphql-loader copied to clipboard

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

Open emahuni opened this issue 6 years ago • 2 comments

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.

emahuni avatar Aug 09 '19 17:08 emahuni

do other tools in the ecosystem have this behavior?

amonks avatar Aug 09 '19 19:08 amonks

Not that I know of

emahuni avatar Aug 10 '19 08:08 emahuni