Keep namespace in record_type#437
Conversation
|
I'd like to disagree here. I think it's pretty common to have namespace scoped serializers/models and not reflect it in the record type.
You don't have to set it for every serializer if you create a base serializer class which you inherit for the rest of your implemented serializers. Consider something like this: next
It's a small trade-off which helps improve the performance a lot. |
|
Hi, For my case we have a project with around 200 models / tables and the namespace is used to classify / clarify models. The |
Hi,
this PR is about to keep the namespace in
record_type. I believe it should be like this because the namespace is an important part of the class name and without it the record_type is not assured to be unique like it's supposed to be.We intensively use namespace and we have a few classes with the same name in different namespace and so it can create some confusion for our frontend developers.
I think it should at least be a global option, and I don't want to set
set_typeon every serializer andrecord_typeon every relation (by the way it's strange to have to set againrecord_typeon relations).