Skip to content

No validation for primary key #287

@AhabalTambal

Description

@AhabalTambal

hey, i have these models and i use django viewsets

class SomeModel(document): value = StringField(primary_key=true) label = StringField(required=True)

class SomeModelSerialization(DocumentSerializer): class Meta: model = SomeModel

if i make a post to /somemodel without any body, it only asks me for label and not for value. why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions