microsoft-performance-toolkit-sdk icon indicating copy to clipboard operation
microsoft-performance-toolkit-sdk copied to clipboard

Plugin metadata versioning

Open helenkzhang opened this issue 1 year ago • 0 comments

Currently the plugins system has these four DTO types: PluginMetadata, PluginContentsMetadata, AvailablePluginInfo and InstalledPluginInfo. They are used as both the contract for serialization/deserialization and the types that are passed around across systems (SDK clients and plugin feed server). These two functionalities should be decoupled into separate classes and only the types used for serialization/deserialization should be versioned.

For the versioning/upgrading pattern, we can consider refactoring the one used in PrebuiltConfigurations into a generic one.

helenkzhang avatar Jun 05 '23 22:06 helenkzhang