luckyframework / luckyframework/website
Added doc of preload with &block.
Open
Beginner friendly
Nobody has claimed this yet.
guides:missing
- Dominant language
- Crystal
- Stars
- 39
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Our doc have this:
q = q.preload_votes(VoteQuery.new.user_id(me.id))
But, no this: (GPT told me, this work)
q = q.preload_votes { |vote_query| vote_query.user_id(me.id) }
Actually, I prefer later, but, no doc.
Thanks
Contributor guide
No contributing guide indexed for this repository
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
Find the existing documentation for preload_votes in the website repository and compare the documented query-object example with the requested block form. Add the block example, then verify the documentation renders correctly and shows both supported forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100