@graphql-codegen/add question #7456
-
|
I'm considering using the /add plugin to share place a few files in our generated file along with the typical typescript types generated from our
Do you mind providing an example of how to pass in a path to a file? I've tried a few things and it always seems to treat it as a string. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I think documentation is incorrect, I looked at the source code of |
Beta Was this translation helpful? Give feedback.
I think documentation is incorrect, I looked at the source code of
addplugin and there is no logic that handles loading from path.