business icon indicating copy to clipboard operation
business copied to clipboard

Array of Aggregate is not a valid tuple member

Open Sherpard opened this issue 6 years ago • 0 comments

FluentAssembler struggles with Tuples when one of the members of the tuple is an Array.

When a tuple that has at least one variable length aggregate collection, (EX: A BookAggregate with all it's Sheets)

Right now, to go trough an assembler with such parameters, the only way to do is injecting the assembler. trying to do the same trough FluentAssembler throws an exception that's generated on Guice.

Due to Java Erasure, Generics are not an option, as FluentAssember cannot locate an assembler annotated with types.

I've uploaded to my fork a couple of IT's to test this behaviour

https://github.com/Sherpard/business/commit/0da38666fb469fecc7a1061dceb384dc4a6a4b76

Sherpard avatar Mar 21 '19 13:03 Sherpard