Skip to content

feat: add recurring payment interval validation — reject zero interval#366

Open
soundsng wants to merge 1 commit into
Lead-Studios:mainfrom
soundsng:feat/issue-189-interval-validation
Open

feat: add recurring payment interval validation — reject zero interval#366
soundsng wants to merge 1 commit into
Lead-Studios:mainfrom
soundsng:feat/issue-189-interval-validation

Conversation

@soundsng
Copy link
Copy Markdown

Summary

  • Update setup_recurring in recurring.rs to panic with "InvalidInterval: interval must be at least 1" when interval == 0
  • Add test_setup_recurring_zero_interval_panics using #[should_panic(expected = "InvalidInterval")]

Closes #189

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@soundsng Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add recurring payment interval validation — reject zero interval

1 participant