Skip to content

Add rule to warn\error on use of Schema.Number and Schema.Date #499

@adrian-gierakowski

Description

@adrian-gierakowski

What is the problem this feature would solve?

and suggest use of Schema.JsonNumber and Schema.ValidDate

see: https://discord.com/channels/795981131316985866/847382157861060618/1442620373714735196

What is the feature you are proposing to solve the problem?

Schema.Number and Schema.Date are almost never the right schema to use as they allow values which most of the time would be considered invalid and which do not serialise in expected way

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions