What is the supported #import syntax in .graphql files? Any examples? #4017
Unanswered
CostachescuCristinel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having a very hard time trying to figure out how to import things in graphql files using the
#import
syntax. The only examples I can find on the web are these:found on an issue report about graphql-codegen:
#import Query.* from "./some.graphql"
found in the graphql-tools schema loading documentation
# import Post from "posts.graphql"
also this, from the main graphql-loader page
#import "./fragments.graphql"
But I can't find any other bit of documentation anywhere else. Not even in the deprecated
graphql-import
repository.Can someone please help me find some documentation? Maybe some examples?
Beta Was this translation helpful? Give feedback.
All reactions