Skip to content

Commit

Permalink
Fix typos in filtering documentation (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdroege authored Apr 20, 2024
1 parent fbe1f8f commit b359bed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guide/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class FruitFilter:
self,
info: Info,
queryset: QuerySet,
value: strawberry_django.FilterLookups[str],
value: strawberry_django.FilterLookup[str],
prefix: str
) -> tuple[QuerySet, Q]:
queryset = queryset.alias(
Expand Down Expand Up @@ -243,7 +243,7 @@ input FruitFilter {
lastName: String
simple: str
fullName: str
fullNameLookups: StrFilterLookups
fullNameLookups: StrFilterLookup
}
```

Expand Down Expand Up @@ -331,7 +331,7 @@ class FruitFilter:
... # Do some query modification
)
return strawberry_django.proces_filters(
return strawberry_django.process_filters(
self,
info=info,
queryset=queryset,
Expand All @@ -342,7 +342,7 @@ class FruitFilter:

!!! tip

As seen above `strawberry_django.proces_filters` function is exposed and can be
As seen above `strawberry_django.process_filters` function is exposed and can be
reused in custom methods.
For filter method `filter` `skip_object_order_method` was used to avoid endless recursion.

Expand Down

0 comments on commit b359bed

Please sign in to comment.