Skip to content

enum validation doesn't works in gorm #18

Description

@ayush00git

to enforce enum values in DB level we have to use oneof with the manual values fit in to the binding fields

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