Open krishnapuranika opened 9 years ago
This presents an interesting challenge as any classes with the same name will result in builders with the same name being written into the same package. The problem (I think) is that both builders are being generated but one is overwriting the other.
I think there are a few solutions to this problem:
... and probably many others.
What do you think?
As a workaround, BG can be configured to ignore one of the properties causing this multiple generation, then generate again from that node in the object graph but into a different package.
Builder generator doesn't respect relative subpackage structure of the src model when generating builders. This can cause problems when buildergenerator encounters entities of the same name but in different subpackages.
Thanks.