Change Application c# model to app-lib ApplicationMetaData model in backend #11357
Labels
backend
kind/bug
Used when there is a defect / something is not working as it should.
solution/studio/code
Issues related to DX, coding, debugging and testing locally.
solution/studio/designer
Issues related to the Altinn Studio Designer solution.
team/studio
Description
Since we are using the strict typed model from storage (Application) to (de)serialise
applicationmetadata.json
we are removing custom properties that app-frontend has introduced, such aslogo
i.e., when we do actions in Studio that demands updates of appmetadata. This involves operations like:The issue of loosing the logo field has been reported by several service owners in slack:
Solution
To avoid this from happening we need to use app-libs extended version of the appmetadata model since this allows all custom fields to be added to it. And when this model is passed to storage (which Studio does during deploy) Storage will ignore the additional properties which is okay since Storage does not need these.
The text was updated successfully, but these errors were encountered: