hotchoc graphlq setting paging nation defaults programmatically
Use the following code to configure your paginations sizes:
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services
.AddGraphQLServer()
.SetPagingOptions(new PagingOptions
{
MaxPageSize = 100
});
}
}
Comments