-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Make encapsulate transform outer type names parameterizable (#5337
) * feat: Make encapsulate transform outer type names parameterizable * chore: Define changeset * No need for extra configuration --------- Co-authored-by: Arda TANRIKULU <[email protected]>
- Loading branch information
1 parent
14883d5
commit a597261
Showing
4 changed files
with
124 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@graphql-mesh/transform-encapsulate': minor | ||
'@graphql-mesh/types': minor | ||
--- | ||
|
||
If a schema defines root types which names are not the standard/expected ones ("Query", "Mutation" | ||
and "Subscription") when using the encapsulation transform, the encapsulation will not succeed. The | ||
proposed solution is to allow parameterizing the root type names, for the cases where they don't | ||
follow the standard/expected ones. The new parameters are optional and have default values (the | ||
"standard" values). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters