-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
enhancementNew feature or requestNew feature or requestpriority:majorMajor loss of functionMajor loss of function
Milestone
Description
Konrad Windszus opened MNG-8214 and commented
The model.vm being used with Maven 4 models generates immutable classes with builders. The generated classes cannot be extended easily because
- the builder's constructor is having default access instead of being protected (and
Line 409 in e335f95
Builder(boolean withDefaults) { Line 427 in e335f95
Builder(${class.name} base, boolean forceCopy) { - the classes constructor doesn't take a builder as argument (therefore the subclass cannot leverage most of the functionality currently encapsulated by the Builder)
Affects: 4.0.0-beta-3
Issue Links:
- MNG-7664 consolidate Velocity templates used to generate code from models
Remote Links:
Backported to: 4.0.0-beta-4
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority:majorMajor loss of functionMajor loss of function