luckyframework / luckyframework/lucky_cli
Use User::PrimaryKeyType all over
Open
- Dominant language
- HTML
- Stars
- 92
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
There's a few spots that use Int64 and assumes that is the User's ID type, but we can use `User::PrimaryKeyType` instead which will resolve as Int64 or UUID... or really whatever you're using.
Contributor guide
Research direction
Search the repository for Int64 usages associated with User IDs and inspect the surrounding User::PrimaryKeyType references first. Update each relevant spot so generated applications work with Int64, UUID, or another configured primary-key type, then run the available test or generation checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100