-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Error: Unknown type whith a reference to a type in another file #1782
Comments
Hi there,
I have tried moving PointReward to the same file with the Type that uses it. Just like the above case with type "Departement" that is used directly on the same file. The error persists with the same message. |
This is a duplicate of #1591 |
See #1591 (comment) |
I have 2 files:
index.graphql
andterritoires.graphql
.index.graphql :
territoires.graphql
The error is
If I don't use a separate file and put everything in
index.graphql
like so, there is no error:repro: https://github.com/francoisromain/graphql-tools-config-debug
This issue was originally opened here: ardatan/graphql-import#601. I think to belongs to graphql-tools.
Thank you
The text was updated successfully, but these errors were encountered: