Skip to content

Commit

Permalink
correctly set linkUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Feb 7, 2023
1 parent 4cb1a02 commit dfe34da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/old-singers-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@pothos/plugin-federation': patch
---

correctly set linkUrl
2 changes: 1 addition & 1 deletion packages/plugin-federation/src/schema-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ schemaBuilderProto.toSubGraphSchema = function toSubGraphSchema({
directives: {
...(options?.extensions?.directives as {}),
link: {
url: 'https://specs.apollo.dev/federation/v2.3',
url: linkUrl,
import: [
'@key',
'@shareable',
Expand Down

1 comment on commit dfe34da

@vercel
Copy link

@vercel vercel bot commented on dfe34da Feb 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.