Skip to content

Is there any plugin to prefix the default types such as Query, Node, Cursor, PageInfo? #1505

@codef0rmerz

Description

@codef0rmerz

I tried to hook up a postgraphile GQL service into Apollo Federation Gateway using @graphile/federation plugin. This worked as expected. However, when use more than one postgraphile GQL service, I get a schema validation error such as GraphQLSchemaValidationError: There can be only one type named "PageInfo".

Is there a way to prefix those default types so that each postgraphile GQL service will have unique type names for the Apollo Gateway to run smoothly?

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