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

Update error message when graph ref and variant are specified #6709

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/apollo-server-core/src/determineApolloConfig.ts
Expand Up @@ -50,7 +50,7 @@ export function determineApolloConfig(
if (graphVariant) {
throw new Error(
'Cannot specify both graph ref and graph variant. Please use ' +
'`apollo.graphRef` or `APOLLO_GRAPH_REF` without also setting the graph ID.',
'`apollo.graphRef` or `APOLLO_GRAPH_REF` without also setting the graph variant.',
);
}
} else if (graphId) {
Expand Down