django-filter custom field extensions do not allow for serializer fields #1007
Labels
enhancement
New feature or request
fix confirmation pending
issue has been fixed and confirmation from issue reporter is pending
Describe the bug
When specifying custom annotations for
filters.Filter
classes, only the basic types and raw openapi definitions are allowed:drf-spectacular/drf_spectacular/contrib/django_filters.py
Lines 96 to 100 in d57ff26
To Reproduce
and use following filter in a view:
Expected behavior
I should be able to specify serializer fields in filter annotations.
The text was updated successfully, but these errors were encountered: