JIRA did not forward this comment to the list (file attachment with comment).

I tried to constraint Entities type lookup but then many SDK tests fail. See the attached reports.

Attached reports can be found on the issue page: http://team.ops4j.org/browse/QI-329

/Paul

Niclas Hedhman (Commented) (JIRA) a écrit :
     [ 
http://team.ops4j.org/browse/QI-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987#comment-17987
 ]

Niclas Hedhman commented on QI-329:
-----------------------------------

First of all; Thanks for the analysis.

I like AmbiguousTypeException. It is fail-early style. But there was probably a 
reason why the divergence exists.

I don't have very strong opinion or informed guess what is the best way 
forward. And when in doubt, be restrictive, has been the motto in Qi4j. So, I 
lean towards making Entities behave exactly like the others do now.

Services have special treatment, and I think that should remain as is.

ValueBuilderFactory doesn't perform correct type-to-composite lookup
--------------------------------------------------------------------

                 Key: QI-329
                 URL: http://team.ops4j.org/browse/QI-329
             Project: Qi4j
          Issue Type: Bug
          Components: Core Runtime
            Reporter: Niclas Hedhman
             Fix For: 2.0 - Reductionism


When doing
{code}
ValueBuilder<DomainEvent>  builder = vbf.newValueBuilder(DomainEvent.class)
{code}
Type-to-Composite lookup/search is not happening.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://team.ops4j.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to