Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename GraphQLService to GatewayInterface #5296

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

glasser
Copy link
Member

@glasser glasser commented Jun 10, 2021

GraphQLService was a confusing name. It's not related to
GraphQLServiceContext (which is the type of the argument to
serverWillStart) nor is it related to "service", the old name for a
graph in Studio... or "implementing service", the old name for a
subgraph... It's the type of the gateway option, so giving it a
gateway name seems reasonable.

But we keep exporting the old name so that we can have builds of
@apollo/gateway that work with both AS2 and AS3.

Fixes #4919.

`GraphQLService` was a confusing name. It's not related to
`GraphQLServiceContext` (which is the type of the argument to
`serverWillStart`) nor is it related to "service", the old name for a
graph in Studio... or "implementing service", the old name for a
subgraph... It's the type of the `gateway` option, so giving it a
gateway name seems reasonable.

But we keep exporting the old name so that we can have builds of
`@apollo/gateway` that work with both AS2 and AS3.

Fixes #4919.
@glasser glasser merged commit e4d4bff into release-3.0 Jun 10, 2021
@glasser glasser deleted the glasser/gateway-interface branch June 10, 2021 06:04
StephenBarlow pushed a commit that referenced this pull request Jun 10, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant