conjure-java icon indicating copy to clipboard operation
conjure-java copied to clipboard

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

Open mcintyret opened this issue 7 years ago • 3 comments

The actual builder methods are already more lenient; can we make the of() static factories lenient too?

mcintyret avatar Oct 31 '18 23:10 mcintyret

Also wouldn't say no to Foo.of(Bar... bars)

mcintyret avatar Oct 31 '18 23:10 mcintyret

as in #96 should probably remove of methods

markelliot avatar Nov 05 '18 19:11 markelliot

Also, Foo#of(Bar... bars) likely doesn't really make sense given objects may have more than one collection-style argument.

markelliot avatar Nov 05 '18 19:11 markelliot