noGraphQLTag
and near-operation-file
config does not work with Fragment
#2080
Labels
noGraphQLTag
and near-operation-file
config does not work with Fragment
#2080
Describe the bug
I'm using both
noGraphQLTag
andnear-operation-file
to generate files with fragment. I keep getting the following error:If I don't use fragment, it works!
To Reproduce
Steps to reproduce the behavior:
codegen.yml
config file:Expected behavior
Fragment be turned into
DocumentNode
correctlyEnvironment:
You can check the following sandbox:
https://codesandbox.io/s/use-before-declare-unused-imports-kc7ov
Run the following in the terminal:
The text was updated successfully, but these errors were encountered: