Skip to content

Deprecate Python dataclass annotations as the serialization definition for streamer-generated dataclasses #67

Open
0 of 1 issue completed

Description

@nsmith-

🤖 AI generated content

Scope

For classes generated from a file's TStreamerInfo, stop using the generated Python dataclass (its base-class list and its Annotated[...] member annotations, consumed by @serializable) as the definition of how to deserialize. The dataclass stays as the deserialized representation; at runtime the streamer info itself — or a data model transformed from it — steers the deserialization into the dataclass.

Hand-written bootstrap classes are out of scope: they can keep defining their layout by annotation.

This issue absorbs #22 and the "Memberwise streaming not implemented for TObject base class" line item of #9 (which turned out to be an element-ordering bug, see below).

Planning: TODO. This issue only ties together the open items that motivate the change or that it would unblock.

Items this ties together

Assisted-by: claude-code:claude-fable-5-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions