Niclas Hedhman created POLYGENE-301:
---------------------------------------

             Summary: Better design of Concerns in respect to Builders
                 Key: POLYGENE-301
                 URL: https://issues.apache.org/jira/browse/POLYGENE-301
             Project: Polygene
          Issue Type: Improvement
            Reporter: Niclas Hedhman
             Fix For: 3.2.0


In MapOverrideTest, we apply a ReadOnlyConcern to a java.util.Map value type 
with java.util.HashMap as the Mixin.

BUT, we are not able to initialize the HashMap through the builder, because the 
Concern is invoked during the prototype phase. This is probably correct, and it 
should then be needed a mechanism for Fragments to determine if the invocation 
is happening in an "instance" or in a "prototype", i.e. is a Builder involved 
or not (note that for Entities there is no "prototype" and it might be more 
difficult to figure this out there).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to