[go: nahoru, domu]

Page MenuHomePhabricator

πŸ™ Enable data type specific parser-factory-callback
Closed, ResolvedPublic8 Estimated Story Points

Description

Additional resources:
https://doc.wikimedia.org/Wikibase/master/php/docs_topics_datatypes.html

Technical notes:

  • implement β€œdata type aware” value deserialization
    • consider optimizing this right away so that it only looks up the data type if necessary. How to tell whether it's necessary: look up all data types corresponding to the given value type. The lookup is necessary only if one of the data types register a custom parser-factory-callback.
  • be extra careful when "plugging in" the new type of deserializer that does the additional lookups. We don't want to accidentally put this live before testing and/or optimizing it.
  • document this in an ADR
  • document the new field in extensions/Wikibase/docs/topics/datatypes.md

Event Timeline

Ifrahkhanyaree_WMDE renamed this task from Implement β€œdata type aware” value deserialization to Add value-parser field to data type definitions.Mar 13 2024, 1:13 PM
Ifrahkhanyaree_WMDE added a project: Story.
Ifrahkhanyaree_WMDE updated the task description. (Show Details)
Ifrahkhanyaree_WMDE moved this task from Backlog to Next on the EntitySchema service WPP board.
Dima_Koushha_WMDE renamed this task from Add value-parser field to data type definitions to octopus: Add value-parser field to data type definitions.Mar 21 2024, 9:09 AM
Dima_Koushha_WMDE updated the task description. (Show Details)
Dima_Koushha_WMDE renamed this task from octopus: Add value-parser field to data type definitions to πŸ™ Add value-parser field to data type definitions.Mar 21 2024, 9:13 AM
Jakob_WMDE renamed this task from πŸ™ Add value-parser field to data type definitions to πŸ™ Enable data type specific parser-factory-callback.Apr 22 2024, 8:06 AM
Jakob_WMDE updated the task description. (Show Details)
WMDE-leszek subscribed.

In use and documented by WPP team. Done.