Skip to content

Commit d890e61

Browse files
authored
Fixed broken examples in dataloader.md (#6372)
1 parent cc4c99d commit d890e61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/src/docs/hotchocolate/v13/fetching-data/dataloader.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class PersonBatchDataLoader : BatchDataLoader<string, Person>
7272
public PersonBatchDataLoader(
7373
IPersonRepository repository,
7474
IBatchScheduler batchScheduler,
75-
DataLoaderOptions<string>? options = null)
75+
DataLoaderOptions? options = null)
7676
: base(batchScheduler, options)
7777
{
7878
_repository = repository;
@@ -144,7 +144,7 @@ public class PersonBatchDataLoader : BatchDataLoader<string, Person>
144144
public PersonBatchDataLoader(
145145
IPersonRepository repository,
146146
IBatchScheduler batchScheduler,
147-
DataLoaderOptions<string>? options = null)
147+
DataLoaderOptions? options = null)
148148
: base(batchScheduler, options)
149149
{
150150
_repository = repository;
@@ -209,7 +209,7 @@ public class PersonsByLastNameDataloader
209209
public PersonsByLastNameDataloader(
210210
IPersonRepository repository,
211211
IBatchScheduler batchScheduler,
212-
DataLoaderOptions<string>? options = null)
212+
DataLoaderOptions? options = null)
213213
: base(batchScheduler, options)
214214
{
215215
_repository = repository;

0 commit comments

Comments
 (0)