Skip to content

Commit

Permalink
Augment new warning from #7184 (#7185)
Browse files Browse the repository at this point in the history
  • Loading branch information
glasser committed Nov 23, 2022
1 parent b1548c1 commit 1919e66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/honest-toys-fetch.md
@@ -0,0 +1,2 @@
---
---
3 changes: 2 additions & 1 deletion packages/server/src/plugin/usageReporting/plugin.ts
Expand Up @@ -130,7 +130,8 @@ export function ApolloServerPluginUsageReporting<TContext extends BaseContext>(
logger.warn(
'You have installed `ApolloServerPluginUsageReporting` but this server appears to ' +
'be a subgraph. Typically usage reports are sent to Apollo by your Router ' +
'or Gateway, not directly from your subgraph.',
'or Gateway, not directly from your subgraph. If this was unintentional, remove ' +
"`ApolloServerPluginUsageReporting` from your server's `plugins` array.",
);
}
}
Expand Down

0 comments on commit 1919e66

Please sign in to comment.