class-validator
class-validator copied to clipboard
feature: IsCronExpression
Description
Can we get IsCronExpression decorator?
Proposed solution
You can use this package to validate the cron expression under the hood or a well written regular expression https://github.com/TheCloudConnectors/cron-validator
I found a libary from @menelai which you can use as a temporary solution https://github.com/menelai/is-cron
I would love to see this feature implemented in class-validator as well
Is this being added as feature?
I am willing to file a PR about this if one of the maintainers can confirm that they want this to be added