Hey guys,
I am currently doing some refactoring in WikibaseRepo to make it compatible with DataModel 1.0. One aspect I realized is that there are lots of places in which the code assumes that every entity has claims (which is wrong eg. for queries). Thus this code and the assumption have to get moved out of the entity specific classes. However this will lead to lots of code being duplicated in item and property specific classes which isn't good at all. We therefore need a proper way to inject such code without inheritance. Thus I ask you how to handle such cases like EntityContent or EntityHandler.
Best regards, Bene