Skip to content

Make it easier to mock execution of a managed federation schema #5518

@glasser

Description

@glasser

The GatewayInterface does two things: it watches a possibly changing schema, and it replaces the executor. There's a use case for running an ApolloServer with a managed federation schema where we want a GatewayInterface implementation that wraps the real ApolloGateway to load and watch the schema, but still uses normal GraphQL execution (using mocks). Let's support that explicitly.

See #5507. cc @setchy

Metadata

Metadata

Assignees

No one assigned

    Labels

    size/smallEstimated to take LESS THAN A DAY

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions