Skip to content

Commit

Permalink
Add requiresScopes__Scope and policy__Policy to transformSupergraphTo…
Browse files Browse the repository at this point in the history
…PublicSchema (#46)
  • Loading branch information
kamilkisiela authored Feb 22, 2024
1 parent de983b0 commit cfa9950
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/asd-asd-asd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@theguild/federation-composition': patch
---

Add `requiresScopes__Scope` and `policy__Policy` to `transformSupergraphToPublicSchema`
2 changes: 2 additions & 0 deletions src/graphql/transform-supergraph-to-public-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export const federationScalars = new Set([
'link__Import',
'join__FieldSet',
'join__DirectiveArguments',
'policy__Policy',
'requiresScopes__Scope',
]);
export const federationEnums = new Set(['core__Purpose', 'join__Graph', 'link__Purpose']);
export const federationDirectives = new Set([
Expand Down

0 comments on commit cfa9950

Please sign in to comment.