Hey, > In the database, we (generally) have the numeric ID and entity type. How do we construct an ItemId from that?
See the code ;) Serialization was already encapsulated, so only some local changes are needed for this. Users in general do not know about the db serialization format. > Also, I'm afraid this change means that we'll start using the serialized form internally, because it's convenient. I still think that this is a bad idea, even if the prefix is no longer configurable. We did originally use the serialized form, and thus have many of those in the db. The code that handled this legacy format is now once again the main code handling the current one. (I'm rather amused by that.) This certainly is convenient, thus we need good reason to not go with it. Why do you think it is a bad idea? What problems will it cause? And why are we not seeing those problems already with the current legacy serializations? Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 --
_______________________________________________ Wikidata-tech mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
