palantir / palantir/conjure-java
Foo.of(List<Bar> bars) could be Foo.of(Iterable<Bar> bars)
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 39
- Forks
- 49
- Avg merge
- 8h 22m
- Merged PRs (30d)
- 32
Description
The actual builder methods are already more lenient; can we make the of() static factories lenient too?
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
Locate the generated Foo type and compare its of(List) static factories with the existing builder methods that already accept broader inputs. Confirm the intended Iterable signatures and update the relevant generation coverage so the generated API accepts Iterable values; done when the generated factories and their tests reflect that signature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100