isXander / isXander/YetAnotherConfigLib
Delegate provider should provide delegate, not instance of object
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 155
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Delegate provider should provide delegate like ReadOnlyProperty. It provides instance of category directly instead, which leads to:
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
Open src/main/java/dev/isxander/yacl3/config/v3/KotlinExts.kt at line 23 and inspect the delegate provider's return value. Compare it with the ReadOnlyProperty behavior and the example shown in the issue. Done means the provider supplies the delegate rather than the category instance, avoiding the reported misuse.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100