Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Apollo Federation support #483

@JakesBas

Description

@JakesBas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions