Skip to content

Commit f162c41

Browse files
authored
Fixed code example in sorting.md (#6337)
ISortConvention documentation was referring to IFilterConvention in the example
1 parent 6c8dc9a commit f162c41

File tree

1 file changed

+1
-1
lines changed
  • website/src/docs/hotchocolate/v12/fetching-data

1 file changed

+1
-1
lines changed

website/src/docs/hotchocolate/v12/fetching-data/sorting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ services.AddGraphQLServer()
295295
.AddConvention<ISortConvention, CustomConventionExtension>();
296296
// or
297297
services.AddGraphQLServer()
298-
.AddConvention<IFilterConvention>(new FilterConventionExtension(x =>
298+
.AddConvention<ISortConvention>(new SortConventionExtension(x =>
299299
{
300300
// config
301301
}))

0 commit comments

Comments
 (0)