We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
michaelstaib
Learn more about funding links in repositories.
Report abuse
1 parent 003e815 commit ddc8479Copy full SHA for ddc8479
website/src/docs/hotchocolate/api-reference/migrate-from-10-to-11.md
@@ -620,15 +620,17 @@ downstream schemas.
620
services
621
.AddGraphQLServer()
622
.AddRemoteSchema("SomeSchema")
623
- .AddType(new IntType())
624
- .AddType(new IntType("PaginationAmount"))
+ .ConfigureSchema(x =>
+ x.AddType(new IntType())
625
+ .AddType(new IntType("PaginationAmount")))
626
.AddMergedDocumentRewriter(
627
d => (DocumentNode)new PagingAmountRewriter().Rewrite(d, null));
628
629
630
.AddGraphQL("SomeSchema")
631
- .AddType(new IntType("PaginationAmount"));
632
633
+ .AddType(new IntType("PaginationAmount")));
634
```
635
636
**PagingAmountRewriter:**
0 commit comments