[ https://issues.apache.org/jira/browse/POLYGENE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027068#comment-16027068 ]
Niclas Hedhman edited comment on POLYGENE-257 at 5/27/17 12:40 AM: ------------------------------------------------------------------- {code} // on the ModuleAssembly: moduleAssembly.defaultServices() .visibleIn( Visibility.application ); {code} I am Ok with the above. But for {code} moduleAssembly.defaultIdentityGenerator() .visibleIn( Visibility.application ); {code} I think the convenience is too marginal compared with; {code} new IdentityGeneratorAssembler() .visibleIn( Visibility.application ) .assemble( module ); {code} or even {code} module.services(IdentitityGenerator.class) .withMixin( DefaultIdentityGeneratorMixin.class ) .visibleIn( Visibility.application ); {code} was (Author: niclas): {code} // on the ModuleAssembly: moduleAssembly.defaultServices() .visibleIn( Visibility.application ); {code} I am Ok with the above. But for {code} moduleAssembly.defaultIdentityGenerator() .visibleIn( Visibility.application ); {code} I think the convenience is too marginal compared with; {code} new IdentityGeneratorAssembler() .visibleIn( Visibility.application ) .assemble( module ); {code} or even {code} module.services(IdentitityGenerator.class) .withMixin( DefaultIdentityGeneratorMixin.class ) ;.visibleIn( Visibility.application ); {code} > Custom IdentityGenerator or Serialization hidden by default assemblers > ---------------------------------------------------------------------- > > Key: POLYGENE-257 > URL: https://issues.apache.org/jira/browse/POLYGENE-257 > Project: Polygene > Issue Type: Bug > Reporter: Paul Merlin > Assignee: Paul Merlin > Fix For: 3.0.0 > > > See > https://lists.apache.org/thread.html/9b28a67e75cb8952202d0b0b029de53fc19257b733907408ba20ccde@%3Cdev.polygene.apache.org%3E -- This message was sent by Atlassian JIRA (v6.3.15#6346)