Skip to content

Refactor UpdateUsfmParserHandler to accept rows with custom metadata #193

@ddaspit

Description

@ddaspit

Currently, the UpdateUsfmParserHandler class models a row as a tuple of scripture refs and a translation. Update block handlers might need additional metadata in order to process an update block properly. For example, the PlaceMarkersUsfmUpdateBlockHandler class needs alignment info for a row. Update block handlers have to manage and lookup this metadata itself. It would be better if we could pass in additional metadata for a row to the UpdateUsfmParserHandler. The metadata could then be included in an update block that is passed to update block handlers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    👀 In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions