I suppose you should adjust global settings during DI
builder.Services .AddGraphQLServer() .ModifyPagingOptions(po => po.DefaultPageSize = 10000);