Create Generic package class
Proposal
Extract the Generic package format related code from Packages::Package to Packages::Generic::Package and update all related files like services, finders accordingly.
flowchart TB;
Packages::Package --> Packages::Generic::Package
Solution
Create new Active Record model Packages::Generic::Package and use it for every interaction with Generic packages whether it's a service, finder or API endpoint.
Note: the usage of the feature flag is highly encouraged.
Edited by Dzmitry (Dima) Meshcharakou