Skip to content

Add "non empty string" type #2

@sirewix

Description

@sirewix

Most strings, especially in input/API types (request types) cannot be empty strings. The trivial approach would be to add that validation to deserialization stage. Think of Url: if it's not a valid url it would fail to deserialize. Another case would be non empty list, which we also should add or use nonempty crate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions