Skip to content

Commit

Permalink
update pothos (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes authored Feb 7, 2023
1 parent 96e4d4d commit 452d03f
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 297 deletions.
7 changes: 5 additions & 2 deletions implementations/pothos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,14 @@ builder.queryType({
}),
});

export const schema = builder.toSubGraphSchema({});
export const schema = builder.toSubGraphSchema({
linkUrl: "https://specs.apollo.dev/federation/v2.1"
});

console.log(printSubgraphSchema(schema));

const server = new ApolloServer({
schema: builder.toSubGraphSchema({}),
schema,
});

startStandaloneServer(server, {
Expand Down
Loading

0 comments on commit 452d03f

Please sign in to comment.