Decide on extent of OOP in metadata model #1133
Labels
decision record
Outcome of this discussion should be tracked in a decision record
discussion
Discussions related to the design, implementation and operation of the project
documentation
Documentation of the project as well as procedural documentation
Milestone
Should we create classes for dictionary attributes of inner metadata classes (Targets/Snapshot/Timestamp/Root)?
Con: Seems a bit over-engineered, removes the light-footedness that comes with Python dictionaries
Pro: Makes our use of OOP more consistent.
Why would we use classes for Metadata/Signed/Targets/Snapshot, etc. but not for the inner dicts? (see #1112)
Pro: Makes it easier to validate formats, if complex data structures are defined by classes and simple data types use type annotations. (see #1130)
The text was updated successfully, but these errors were encountered: