You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when generating a fluent accessor in a class, and generating a subclass, using the herited fluent accessor cannot be chained to another fluent accessor of the subclass.
allow something like :
<fluent name="xxx" type="yyy">
The name and type MUST obviously match the original definition for the code to be ok.
The text was updated successfully, but these errors were encountered:
As a matter of fact, for the fluent accessor to be really usable, the fluent accessor MUST be overriden when generating a class extending another generated class.
It requires that the generator create an index of the generated classes, and that the fluent accessors are being generated separately.
thus the algorithm in pseudo code :
generateFluentAccessors
foreach(property in properties)
generateLocalFluentAccessor(property)
if(extends and getBean(extends))
getBean(extends).overrideFluentAccessors
overrideFluentAccessors
foreach(property in properties)
overrideFluentAccessor(property)
if(extends and getBean(extends))
getBean(extends).overrideFluentAccessors
when generating a fluent accessor in a class, and generating a subclass, using the herited fluent accessor cannot be chained to another fluent accessor of the subclass.
allow something like :
The name and type MUST obviously match the original definition for the code to be ok.
The text was updated successfully, but these errors were encountered: