Skip to content

Commit f946b3c

Browse files
EverlastingBugstopperglasser
authored andcommitted
updates error when schema reporting is used with federation (#4567)
it's helpful to have an actionable message when something goes wrong aside from a simple "contact support" if there is a way to achieve the action that caused the error. in this case, the user is likely trying to set up Apollo Studio with their service, which they can do if they follow along with the documentation. this change adds a link to said documentation to immediately unblock users who run into this error.
1 parent d852220 commit f946b3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/apollo-server-core/src/ApolloServer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,8 @@ export class ApolloServerBase {
828828
[
829829
'Schema reporting is not yet compatible with federated services.',
830830
"If you're interested in using schema reporting with federated",
831-
'services, please contact Apollo support.',
831+
'services, please contact Apollo support. To set up managed federation, see',
832+
'https://www.apollographql.com/docs/studio/managed-federation/setup/'
832833
].join(' '),
833834
);
834835
}
@@ -837,7 +838,8 @@ export class ApolloServerBase {
837838
[
838839
"Schema reporting is not yet compatible with the gateway. If you're",
839840
'interested in using schema reporting with the gateway, please',
840-
'contact Apollo support.',
841+
'contact Apollo support. To set up managed federation, see',
842+
'https://www.apollographql.com/docs/studio/managed-federation/setup/'
841843
].join(' '),
842844
);
843845
}

0 commit comments

Comments
 (0)