[Card Grant] Add max expiration date
Open
- Dominant language
- Ruby
- Stars
- 870
- Forks
- 138
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 208
Description
Card grants must expire within a certain time frame. For example, I don't want to allow a card grant to expire 100 years from now.
Let's set this max value to 3 years from now.
Contributor guide
Research direction
Start by locating the Card Grant creation or update entry point and any existing expiration validation, then inspect how dates are represented. Enforce the three-year maximum and verify boundary cases with the relevant test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- payments
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100