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
In the example above, EmployeeSerializer.cubicle_url could be null but it is not explicitly created with allow_null=True. In this situation, drf-spectacular could figure this out using some magic involving django.urls.reverse and django.urls.resolve. Unfortunately I myself don't have the energy to contribute this fix (i.e. #1307 is ready to merge, it doesn't fix all related bugs but it does add something)
Describe the bug
I added a test for this bug to a fork. See jennydaman@c124c7a
To Reproduce
Expected behavior
The
album_id
field should be nullable:The text was updated successfully, but these errors were encountered: