Skip to content

Commit 70a8f36

Browse files
committed
Add changeset
1 parent ac709c0 commit 70a8f36

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.changeset/thick-pianos-smoke.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@graphql-codegen/visitor-plugin-common': patch
3+
'@graphql-codegen/typescript-resolvers': patch
4+
'@graphql-codegen/plugin-helpers': patch
5+
---
6+
7+
Fix `mappers` usage with Federation
8+
9+
`mappers` was previously used as `__resolveReference`'s first param (usually called "reference"). However, this is incorrect because `reference` interface comes directly from `@key` and `@requires` directives. This patch fixes the issue by creating a new `FederationTypes` type and use it as the base for federation entity types when being used to type entity references

0 commit comments

Comments
 (0)