palantir / palantir/conjure-java

Foo.of(List<Bar> bars) could be Foo.of(Iterable<Bar> bars)

Open
#97 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.