Skip to content

Remove MetadataWrapper class #1304

@sechkova

Description

@sechkova

I find it a bit paradox that MetadataWrapper is another container on top of Metadata, adding another level of nesting, when most of the methods/properties are actually shortcuts to attributes contained somewhere in Metadata. If we want a client-variant of Metadata, I'd maybe use inheritance instead of composition. 🤷

But maybe we don't even need it. Let's quickly go through the individual methods/properties of here:

On MetadataWrapper:

All the other methods here are either pure shortcuts or filters of attributes contained in Metadata objects (or contained objects).

Originally posted by @lukpueh in #1291 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    experimental-clientItems related to the development of a new client (see milestone/8 and theexperimental-client branch)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions