Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

usecase-shape misses property-read and chained forwarders

Open
#1,070 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin
Domain
tooling

Research direction

Start with isForwarder in PresentationRules.kt, the usecase-shape check, and read how it currently matches a single call on a constructor property. Then look at the three named use cases (ReadLastScanDate, ReadEqualizerPreset, ObserveScannerFolders) and the baseline file. Done means the check flags property-read, chained, this., generic and dotted-receiver forwarders, and those three are either removed or baselined with the check passing.

Written by the indexing model from the issue text.

Description

later

The usecase-shape forwarder check added in PresentationRules.kt (isForwarder) catches only a single method call on a constructor property. It misses:

  • property-read forwarders (= folderStore.folders), so ReadLastScanDate, ReadEqualizerPreset and ObserveScannerFolders stay as forwarders
  • chains other than .flowOn(..) and .first()
  • calls through this., explicit generics or dotted receivers
  • forwarding to a property that isn't a constructor parameter

Fix: widen isForwarder to cover these, then delete or baseline the three remaining forwarders.

Dominant language
Kotlin
Stars
231
Forks
28
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from timusus/Shuttle2

All issues in timusus/Shuttle2

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.