How to use GraphQL types generated by Hasura in remote schemas. #8162
Unanswered
armansujoyan
asked this question in
Question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. Recently in one of my remote schemas, I created a query that returns the currently logged-in user. The return type of the query is the same
User
type that is already present in the schema generated by Hasura and that type has all the corresponding relations already set up. So I was thinking, is there a way to return the same user type from the custom query of remote schema and make Hasura map it to its generated User type so that all the relations can work as expected?Beta Was this translation helpful? Give feedback.
All reactions