Page MenuHomePhabricator

[Task] Split Lexeme serializer into ExternalSerializer and StorageSerializer
Closed, ResolvedPublic

Description

Currently, we have only one serializer that is used everywhere.

We need to have a distinction between storage layer serialization and public interface serialization because we don't want to expose nextFromId counter stored in Lexeme to the users but need to store it in the DB.

Event Timeline

Change 376720 had a related patch set uploaded (by Aleksey Bekh-Ivanov (WMDE); owner: WMDE-leszek):
[mediawiki/extensions/WikibaseLexeme@master] Add a lexeme serializer for the external output

https://gerrit.wikimedia.org/r/376720

Change 376720 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Add a lexeme serializer for the external output

https://gerrit.wikimedia.org/r/376720