You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to also be generated. I can workaround now with this:
// given an ABThing abThing;ImmutableAB.from((A) abThing).build();
This will actually build all the fields of AB because the private from method actually checks against each possible interface with fields, but I strangely have to convert it to A (or B) to make that work. We should just offer another .from signature to handle this -- right?
The text was updated successfully, but these errors were encountered:
Given:
only these from methods are generated:
I'd really love for
to also be generated. I can workaround now with this:
This will actually build all the fields of AB because the private
from
method actually checks against each possible interface with fields, but I strangely have to convert it toA
(orB
) to make that work. We should just offer another.from
signature to handle this -- right?The text was updated successfully, but these errors were encountered: