Skip to content

Decouple I/O internals from dynamic Record fields #749

Backlog

Description

@tompollard

Problem

The header field tables, parser, validation, conversion, and writer access record fields dynamically. Parsing assigns fields with setattr, and Record and Annotation equality inspect instance dictionaries. Introducing nested metadata or signal objects can therefore change equality, serialization, and legacy field edits even if read/write results look the same.

Decisions to make

  • What internal schema should own record, signal, and segment fields during the transition?
  • Which legacy mutations and object serialization behaviors must be preserved, including in-place edits to list fields?
  • How should parsing, validation, and writing consume the new schema while keeping warnings out of internal calls?
  • How should tests distinguish structural equality from equivalent signal data produced through different read paths?

Related: #371 (metadata model), #376 (signal model), #672 (compatibility and names), and the design review on #417. This supports #743, #744, #745, #746, #747, and #748.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions