📝 Make an `@overload` from `SchemaGenerator.__call__` (#679)
This code right now is not ideal:
django-modern-rest/dmr/openapi/generators/schema.py
Lines 22 to 31 in 8917dd3
Because when
skip_registration=True, we know that we return a Schema object only.While it is
skip_registration=False we can return Schema | Reference.This needs to be an
@overloaded function with correct return types.This is a very easy task for first-timers only :)
#enhancement #good_first_issue #help_wanted #django_modern_rest
sent via relator