When translating a Java Bean with a field List<Long> list; to PACT-Json, the result is wrong: {"list":[{"list":0}]}.
The library treats primitives like object references even in cases were a "literal" is needed. The API for com.remondis.cdc.consumer.pactbuilder.PactDslModifier<T> does not take into account, that a "literal" representation might be needed instead of a field representation.
When translating a Java Bean with a field
List<Long> list;
to PACT-Json, the result is wrong:{"list":[{"list":0}]}
. The library treats primitives like object references even in cases were a "literal" is needed. The API forcom.remondis.cdc.consumer.pactbuilder.PactDslModifier<T>
does not take into account, that a "literal" representation might be needed instead of a field representation.