isXander / isXander/YetAnotherConfigLib
Allow custom sorting function for EnumDropdownController
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 155
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
For EnumDropdownControllerBuilder, yacl always sort the options alphabetically. However, I want to either provide my own sort key/provide my custom sort function.
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
Start by locating EnumDropdownControllerBuilder and trace where its options are sorted alphabetically. Determine how the builder should expose a custom sort key or function, then verify that the resulting dropdown preserves the requested ordering and add or update relevant tests if the project provides them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100