Skip to content

[Feature Request] Adds the @coerce directive not only for Date, it is obvious that it is needed for any field. #2062

@MaxmaxmaximusFree

Description

@MaxmaxmaximusFree
model  Server {
    host  String @trim
    port  Int    @gte(0) @lte(65535) @coerce 
} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions