mklemm / jaxb-rich-contract-plugin

Implements some JAXB plugins to generate advanced contract scenarios from XSD
MIT License
67 stars 33 forks source link

Support for Typesafe-IDREFS #70

Closed takebene closed 6 months ago

takebene commented 2 years ago

When trying to use the fluent builder in the project vec-model the following error occurs:

incompatible types: java.util.List cannot be converted to java.util.List incompatible types: java.lang.Object cannot be converted to com.foursoft.harness.vec.v113.VecVariantConfiguration

However, the plugin does not work smoothly with our Typesafe-IDREFS. Is it possible to support this?

mklemm commented 6 months ago

In which plugin does it happen? Is there more stacktrace output?

mklemm commented 6 months ago

Cannot reproduce this bug. I added a new unit test "idrefs-test.xsd" which verifies IDREF behavior and it seem to work OK. It is also OK to not generate sub-builders in this case, since there is no containment but a reference