luckyframework / luckyframework/avram
Allow setting different param per attribute
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Crystal
- Stars
- 183
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
This would be helpful for things like a search param where the common param is just “q”
attribute query : String, param_name: :q
Update: this is kind of confusing because it isn't clear it uses the top-level q param. Maybe it needs something like this:
attribute q : String, root: true # or 'top_level'?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing attribute declaration API and how parameter names are currently resolved. Compare the proposed param_name and root/top_level forms, then clarify the intended behavior and acceptance criteria before changing the API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100