Skip to content

Enum validators #1

@devHazz

Description

@devHazz

Need to find a way to setup validation for both the MessageType & WeatherRequestType enums to validate string input. Naturally, as per Golang's standard, it doesn't support validating an input and passing an error or panic back to the client. So will have to figure out a way to do this

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