You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
Out team has managed to figure out a workaround for generating resolvers with the @key directive added to the schema, but at the moment, graphqlgen cannot generate resolvers for types that use the extend keyword.
A typical error that is generated when trying to run graphqlgen with a type that uses the extend keyword would look like the following.
"Error occurred while reading schema: Error: Field company: Couldn't find type in any of the schemas."
This feature request aims to include Apollo Federation support with regards to generating resolvers.
Additional context
The text was updated successfully, but these errors were encountered:
Hey @AlexQuidditch,
Our team managed to find a working solution. However, it is not that elloquent. Let me know what problem you are facing and if you would like a rundown of our workaround. Haven't revisited this issue again and the solution dates 8 months or so back, so its not that fresh in my mind, but I don't mind doing some digging upon request
Description
With the new release of Apollo Federation (https://blog.apollographql.com/apollo-federation-f260cf525d21), new keywords and directives can be used in the graphql schema declaration.
More information on all that Apollo Federation allows can be read in their official documentation (https://www.apollographql.com/docs/apollo-server/federation/introduction/)
Out team has managed to figure out a workaround for generating resolvers with the @key directive added to the schema, but at the moment, graphqlgen cannot generate resolvers for types that use the extend keyword.
A typical error that is generated when trying to run graphqlgen with a type that uses the extend keyword would look like the following.
"Error occurred while reading schema: Error: Field company: Couldn't find type in any of the schemas."
This feature request aims to include Apollo Federation support with regards to generating resolvers.
Additional context
The text was updated successfully, but these errors were encountered: