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 2faf9c9 commit 7b97613Copy full SHA for 7b97613
code/complete/GraphQL/Startup.cs
@@ -17,6 +17,7 @@
17
using HotChocolate.Resolvers;
18
using HotChocolate.AspNetCore;
19
using System.Diagnostics;
20
+using HotChocolate.Types.Pagination;
21
22
namespace ConferencePlanner.GraphQL
23
{
@@ -71,7 +72,11 @@ public void ConfigureServices(IServiceCollection services)
71
72
.AddDataLoader<SessionByIdDataLoader>()
73
.AddDataLoader<SpeakerByIdDataLoader>()
74
.AddDataLoader<TrackByIdDataLoader>()
- .ModifyRequestOptions(o => o.IncludeExceptionDetails = true)
75
+
76
+ .SetPagingOptions(new PagingOptions
77
+ {
78
+ RequirePagingBoundaries = true
79
+ })
80
81
// we make sure that the db exists and prefill it with conference data.
82
.EnsureDatabaseIsCreated()
0 commit comments