Create a generic interface that correctly describes all the plugin data object actions like toDraft and toInternal
demeyerthom opened this issue · 0 comments
demeyerthom commented
We currently have several ways of mapping internal data models to the api models. Some are through methods on the internal models, some are separate mapper functions.
To make handling more consistent we should create an interface that describes these actions, which we should then be able to implement in actual implementations