-
Notifications
You must be signed in to change notification settings - Fork 237
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
Gateway query fails if a type is redefined #731
Comments
Can you please make a reproducible example? I don't understand why you are redefining the type. |
Why are you not using the @external directive on |
I-ve created a test in the PR in the comment, this the direct link to the file: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm facing this issue using the gateway feature:
I've 2 nodes that declare the same type, it's a wrapper to normalise the return list:
The first node declare and resolve the
User
typeThe second one has a query that return the list of the users:
The query that uses the type with a diffrent name, works properly as expected:
Instead the query that used the type that's declared in the other node as well fails:
with the error:
A test file that replicate the issue is available here:
#730
The text was updated successfully, but these errors were encountered: