We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984d530 commit 035aedeCopy full SHA for 035aede
docs/Pagination.md
@@ -13,3 +13,11 @@ The following query would set the page size to 10 and get page 2.
13
14
If you would like pagination implemented by default, you can specify the page size
15
when setting up the services:
16
+
17
+```C#
18
+public IServiceProvider ConfigureServices(IServiceCollection services) {
19
+ services.AddJsonApi<AppDbContext>(
20
+ opt => opt.DefaultPageSize = 10);
21
+ // ...
22
+}
23
+```
0 commit comments