📝 Support explicitly abstract controllers (#1458)
Currently we only infer
Controller.is_abstract ourself:django-modern-rest/dmr/controller.py
Line 206 in 405ba9b
But, there might be valid cases where people want to define controller to be reused without any customizations or with just the input / return type customizations.
We must respect top-level
is_abstract controller definition. Child classes without explicit is_abstract = True must be treated as concrete if they have the serializer.This way people can create generic controller only on some parts. This would also need a doc update in the "Reusable code" section with the example.
#feature #good_first_issue #help_wanted #opensource_september #django_modern_rest
sent via relator