You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drf-yasg already has integration with djangorestframework-recursive, and it works as expected. However, the project hasn't seen development in quite a while, so it was forked into drf-recursive. Apart from the PyPI project, the Python package also got a new name:
To be honest, I wish folks at Kraken never renamed the package in the first place. drf-recursive was never intended to be installed along with, but to replace djangorestframework-recursive, so keeping the package name the same would not cause problems.
@NicholasBunn sorry to ping you in this (I'd go to your issue tracker, but your repo has issues disabled), but how realistic is it for me to wish that drf-recursive changes the package name back to rest_framework_recursive? 😅
Feature Request
Description
drf-yasg
already has integration with djangorestframework-recursive, and it works as expected. However, the project hasn't seen development in quite a while, so it was forked into drf-recursive. Apart from the PyPI project, the Python package also got a new name:As such,
yasg
does not detect the schema correctly and usesstring
as type for these fields.Describe the solution you'd like
Also support
drf-recursive
'sdjango_rest_framework_recursive
as import source for the field. You can achieve this using conditional imports.Describe alternatives you've considered
You could also provide a setting where I can specify what field I want to use for the recursive functionality.
The text was updated successfully, but these errors were encountered: