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

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm