Skip to content

Refactor validation logic in UserSettingsViewSet to its serializer #40

Description

@jackie-ak

In the UserSettingsViewSet in src/api/views/user_settings.py we are using the UserSettingsSerializer but then some part of the validation is done within UserSettingsViewSet.validate_value. This should be refactored. Also see this comment on a recent review: #39 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions