Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type-level CRON expressions validation #820

Open
alexvictoor opened this issue Dec 17, 2023 · 0 comments
Open

Type-level CRON expressions validation #820

alexvictoor opened this issue Dec 17, 2023 · 0 comments
Labels
type:feature New feature or feature improvement & requests

Comments

@alexvictoor
Copy link

⭐ Suggestion

Hello!
Thanks a lot for this great library!
Would you be interested by a PR adding type-level validation to CRON expressions?
I have already built a type level validator that seems to worked well with node-cron.
Happy to discuss any issue and eager to get feedback.

💻 Use Cases

No response

❌ Related Problems

I am using node-cron at my day job.
Although we are quite fans of TDD in my team, the cron job configuration code is not covered by tests. One day I was in a hurry to push some batch changes... one of the cron expressions was invalid :(
Would be great if this kind of accident could be avoided.

@alexvictoor alexvictoor added the type:feature New feature or feature improvement & requests label Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or feature improvement & requests
Projects
None yet
Development

No branches or pull requests

1 participant