Menu

#13 imutable objects and constructor injection

open-invalid
nobody
None
5
2010-12-20
2010-07-06
Anonymous
No

A have a graph of objects, all of them are imutable. Some of my objects have multiple constructors and Simple has problems picking the right one during serialization.

I have attached 4 java files to reproduce my usecase.

Discussion

  • Niall Gallagher

    Niall Gallagher - 2010-12-20
    • status: open --> open-invalid
     
  • Niall Gallagher

    Niall Gallagher - 2010-12-20

    This is not really a bug, default constructors are the highest priority, so if at all possible they will be choosen first. I may consider a change here in a future release.

     

Log in to post a comment.

MongoDB Logo MongoDB