Skip to content

Add decorators or some form of metadata to allow more granular checks #35

@jacobgardner

Description

@jacobgardner

Is your feature request related to a problem? Please describe.
JSON schema allows validation of things that typescript doesn't care about such as string line length. We may want to investigate ways to allow these sorts of checks.

Describe the solution you'd like
I was originally thinking using decorators on fields to do the validation like string length, but we'll get syntax errors for decorators on interface fields or the interface itself, so I'm not sure what a good way of doing this is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions