Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor serializers to send meaningful data #390

Open
injoonH opened this issue Jul 12, 2023 · 0 comments · Fixed by #391
Open

Refactor serializers to send meaningful data #390

injoonH opened this issue Jul 12, 2023 · 0 comments · Fixed by #391
Assignees
Labels

Comments

@injoonH
Copy link
Member

injoonH commented Jul 12, 2023

Currently, most APIs' response includes unnecessary data as fields is set to "__all__".

class SomeSerializer(MetaDataModelSerializer):
    class Meta:
        model = SomeModel
        fields = "__all__"
@injoonH injoonH self-assigned this Jul 12, 2023
@injoonH injoonH linked a pull request Jul 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant